| Contents | Index |
Simulink.sdi.deleteRun(runID)
Simulink.sdi.deleteRun(runID) deletes a run associated with the run ID in the Simulation Data Inspector. Deleting the run removes all signal data included in the run. The Simulation Data Inspector maintains a list of runs. After deleting a run, the subsequent runs move up the list and the run index for each run changes. However, the run IDs remain the same.
runID |
Run ID, a unique number identifying a run. |
Remove a run 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.deleteRun(runID);Simulink.sdi.clear | Simulink.sdi.copyRun | Simulink.sdi.createRun | Simulink.sdi.Run

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 |