Access and display values of simulation results
output
= find(simout, 'VarName
')
output
= simOut.find('VarName
')
finds the output
= find(simout
, 'VarName
')VarName
in
Simulink.SimulationOutput
. Specify
VarName
in single quotes.
is a syntax with dot notation for the output
= simOut.find('VarName
')find
method.
|
Value of the logged variable name specified in input. |
Simulate vdp
and store the values of the
variable youtNew in yout.
simOut = sim('vdp','SaveState','on','StateSaveName','xoutNew',... 'SaveOutput','on','OutputSaveName','youtNew'); yout = simOut.find('youtNew')