Code covered by the BSD License  

Highlights from
Numerical Computing with Simulink, Vol. 1

image thumbnail
from Numerical Computing with Simulink, Vol. 1 by Richard Gran
This sequel to Numerical Computing with MATLAB explores the mathematics of simulation.

reset_pushbuttons(resetcommand)
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