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.

updatetemps(Tdata)
function updatetemps(Tdata)

hGUI=evalin('base','hGUI');
h  = guidata(hGUI);
Tdata = double(Tdata);
set(h.text7,'String',num2str(fix(10*Tdata(1))/10));
set(h.text9,'String',num2str(fix(10*Tdata(2))/10));

Contact us at files@mathworks.com