Determine configured run limit for Simulation Data Inspector archive
returns the limit configured for the number of runs the Simulation Data Inspector stores in
the archive. When the number of runs in the archive reaches the limit, the Simulation Data
Inspector starts to delete runs from the archive on a first-in, first-out basis. When
another run enters the archive, the Simulation Data Inspector deletes the run that has been
in the archive the longest. A limit
= Simulink.sdi.getArchiveRunLimitlimit
of -1
indicates
the archive has no limit for the number of runs it stores. A limit
of
0
means that the archive cannot contain any runs.
To retain data for only the current run, configure the Simulation Data Inspector to
automatically archive runs and set the archive run limit to 0
.
Simulink.sdi.getAutoArchiveMode
| Simulink.sdi.setArchiveRunLimit
| Simulink.sdi.setAutoArchiveMode