Contenu principal

Simulink.sdi.getAllRunIDs

R2026b

Get all Simulation Data Inspector run identifiers

Description

runIDs = Simulink.sdi.getAllRunIDs returns a vector of run IDs for all runs in the Simulation Data Inspector repository.

example

Examples

collapse all

Get the IDs for all runs in the Simulation Data Inspector and use them to access run information.

Get all run IDs from the Simulation Data Inspector.

runIDs = Simulink.sdi.getAllRunIDs
runIDs = 4×1 int32 column vector
5446
5516
5582
5648

Access the Simulink.sdi.Run object for the most recent run.

latestRun = Simulink.sdi.getRun(runIDs(end));

Output Arguments

collapse all

Run IDs in the Simulation Data Inspector repository, returned as vector of positive integers.

Version History

Introduced in R2017a