Simulink.sdi.getArchiveRunLimit
Get limit for number of runs to retain in Simulation Data Inspector archive
Description
returns the limit on the number of runs the Simulation Data Inspector retains in the
archive. A return of limit
= Simulink.sdi.getArchiveRunLimit-1
indicates no limit on the number of runs.
When you run multiple simulations in a single MATLAB® session, the Simulation Data Inspector retains results from each simulation so you can analyze the results together. Use the Simulation Data Inspector archive to manage the number of runs the Simulation Data Inspector retains and to visually manage runs in the user interface.
Tip
To automatically limit the number of runs, configure the Simulation Data Inspector
to automatically move prior runs into the archive using the Simulink.sdi.setAutoArchiveMode
function and specify the archive run
limit.
For information about how to control the amount of data logged from simulation, see Limit the Size of Logged Data.
Examples
Output Arguments
Version History
Introduced in R2018b