| Contents | Index |
Access and display output variable names of simulation
simOutVar = simOut.who
simOutVar = simOut.who returns the names of all simulation output variables, including workspace variables.
simOutVar |
String array of output variable names of simulation. |
Simulate vdp and store the string values of the output variable names.
simOut = sim('vdp','SimulationMode','rapid','AbsTol','1e-5',...
'SaveState','on','StateSaveName','xoutNew',...
'SaveOutput','on','OutputSaveName','youtNew');
simOutVar = simOut.whoSimulink.SimulationOutput.find | Simulink.SimulationOutput.get

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 |