Code covered by the BSD License  

Highlights from
SAE Paper Demo: Model-Based Design of Hybrid Electric Vehicles

image thumbnail

SAE Paper Demo: Model-Based Design of Hybrid Electric Vehicles

by

 

07 Nov 2010 (Updated )

Demo files to accompany the paper by the same name

updateMPG(hcarGUI,mpg,time, tf)
function updateMPG(hcarGUI,mpg,time, tf)

guiHandles = guidata(hcarGUI);

set(guiHandles.MPGH,'XData',time,'YData',mpg,'color',[1 1 1],'linewidth',2)
axis(guiHandles.MPGAxis,[0 tf 0 60]);

guidata(hcarGUI,guiHandles)

Contact us