Simulink.sdi.setArchiveRunLimit
Specify number of runs to retain in Simulation Data Inspector archive
Description
Simulink.sdi.setArchiveRunLimit(
sets
the limit limit
)limit
for the number of runs to retain in the Simulation Data
Inspector archive. When the number of runs in the archive reaches the specified limit, the
Simulation Data Inspector deletes runs from the archive on a first-in, first-out
basis.
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
Input Arguments
Version History
Introduced in R2018b