| Contents | Index |
Access and display values of simulation results
output = simOut.find('VarName')
output = simOut.find('VarName') accepts one variable name. Specify VarName inside single quotes.
VarName |
Name of logged variable for which you seek values. |
Value |
Value of the logged variable name specified in input. |
Simulate vdp and store the values of the variable youtNew in yout.
simOut = sim('vdp','SimulationMode','rapid','AbsTol','1e-5',...
'SaveState','on','StateSaveName','xoutNew',...
'SaveOutput','on','OutputSaveName','youtNew');
yout = simOut.find('youtNew')Simulink.SimulationOutput.get
Simulink.SimulationOutput.get | Simulink.SimulationOutput.who

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |