Export Simulation Data Inspector run data to the workspace or a file
creates a dataset
= Simulink.sdi.exportRun(runID
)Simulink.SimulationData.Dataset
object in the base workspace with the data in the Simulation Data Inspector run
identified by runID
.
Simulink.sdi.exportRun(
exports the data in the run corresponding to runID
,Name,Value
)runID
to the base
workspace or a file according to the options specified by one or more name-value
pair arguments. You can export data for one or more runs to a MAT, MLDATX, or
Microsoft®
Excel® file. To export data for multiple runs to a file, you can specify the
runIDs
input as a vector of run IDs.
Simulink.sdi.getAllRunIDs
| Simulink.sdi.getRunIDByIndex
| Simulink.sdi.Run
| Simulink.sdi.save
| Simulink.SimulationData.Dataset