Skip to Main Content Skip to Search
Product Documentation

Simulink.sdi.deleteRun - Delete run from Simulation Data Inspector

Syntax

Simulink.sdi.deleteRun(runID)

Description

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.

Input Arguments

runID

Run ID, a unique number identifying a run.

Examples

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);

See Also

Simulink.sdi.clear | Simulink.sdi.copyRun | Simulink.sdi.createRun | Simulink.sdi.Run

How To

  


Related Products & Applications

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