Contenuto principale

Simulink.sdi.getRunIDByIndex

R2026b

Use Simulation Data Inspector run index to get run ID

Description

runID = Simulink.sdi.getRunIDByIndex(index) returns the run ID for the run with the specified index in the Simulation Data Inspector repository.

example

Examples

collapse all

Get the run ID for the fourth run in the Simulation Data Inspector.

runID = Simulink.sdi.getRunIDByIndex(4)
runID = int32
5648

Input Arguments

collapse all

Run index in Simulation Data Inspector, specified as a positive integer.

Example: 3

Output Arguments

collapse all

Run identifier assigned by the Simulation Data Inspector, returned as a positive integer.

Version History

Introduced in R2011b