Simulink.sdi.exportRun
Export Simulation Data Inspector run data to the workspace or a file
Description
creates a dataset
= Simulink.sdi.exportRun(runID
)Simulink.SimulationData.Dataset
object in the base workspace with the data from the Simulation Data Inspector run
identified by runID
.
In R2023a: To include data from multiple runs in the
Dataset
object, you can specify the runID
input as a vector of run IDs.
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
the workspace (since R2023a) or a file, you can specify the runID
input as a vector of run IDs.