| Contents | Index |
Simulink.sdi.clear
Simulink.sdi.clear clears all run data from the Simulation Data Inspector.
Remove all runs from the Simulation Data Inspector.
% Configure model "sldemo_f14" for logging and simulate
simOut = sim('sldemo_f14','SaveOutput','on','SaveFormat','StructureWithTime');
% Create a Simulation Data Inspector run
runID = Simulink.sdi.createRun('First Run','base',{'simOut'});
Simulink.sdi.clear;
% The number of runs is now zero.
runCount = Simulink.sdi.getRunCount()

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 |