simulateSystem
Simulate system specified by converter object
Syntax
Description
simulates the system specified by the simOut
=
simulateSystem(converter
)DataTypeWorkflow.Converter
object, converter
.
simulates the system specified by the simOut
=
simulateSystem(converter
,Name,Value
)DataTypeWorkflow.Converter
object, converter
, using
additional options specified by one or more Name,Value
pair arguments.
This function accepts the same Name,Value
pairs as the sim
function.
simulates the system specified by the simOut
=
simulateSystem(converter
,simIn
)DataTypeWorkflow.Converter
object, converter
, using the
inputs specified in the Simulink.SimulationInput
object
simIn
.
simulates the system specified by the simOut
= simulateSystem(converter
,ParameterStruct
)DataTypeWorkflow.Converter
object, converter
, using the
parameter values specified in the structure, ParameterStruct
.
simulates the system specified by the simOut
=
simulateSystem(converter
,ConfigSet
)DataTypeWorkflow.Converter
object, converter
, using the
configuration settings specified in the model configuration set,
ConfigSet
.
Examples
Input Arguments
Output Arguments
Tips
To name your simulation run, before simulation, change the
CurrentRunName
property of theDataTypeWorkflow.Converter
object.simulateSystem
provides functionality similar to thesim
command, except thatsimulateSystem
preserves the model-wide data type override and instrumentation settings of each run.
Note
The
SimulationMode
property must be set tonormal
. The Fixed-Point Designer™ software does collect simulation ranges in Rapid accelerator or Hot restart modes.The
StopTime
property cannot be set toinf
.The
SrcWorkspace
parameter must be set to eitherbase
orcurrent
.
Version History
Introduced in R2014b