Code covered by the BSD License
function reset_pushbuttons(resetcommand) if resetcommand == 1 block_handle = 'Stateflow_Heating_Controller/User_Selections/11_PB_Gain'; set_gain = '-1'; set_param(block_handle,'Gain',set_gain); block_handle = 'Stateflow_Heating_Controller/User_Selections/Enter_Gain'; set_gain = '-1'; set_param(block_handle,'Gain',set_gain); end
Contact us