Package: Simulink
Superclasses:
Access metadata of simulation runs
The SimulationMetadata
class contains information
about a simulation run including:
Model information
Timing information
Execution and diagnostic information
Custom character vector to tag the simulation
Custom data to describe the simulation
SimulationMetadata
packages this
information with the SimulationOutput
object. To
use SimulationMetadata
, use one of these approaches:
In Configuration Parameters > Data Import/Export, under Save options, select Single simulation output.
Use set_param
to set ReturnWorkspaceOutputs
to on
.
set_param(model_name,'ReturnWorkspaceOutputs','on');
To retrieve the SimulationMetadata
object,
use the getSimulationMetadata
method on a SimulationOutput
object.
Value. To learn how value classes affect copy operations, see Copying Objects.