createSimulator
Create simulation object from experiment to compare measured and simulated data
Description
creates a sim_obj
=
createSimulator(experiment
)sdo.SimulationTest
object to simulate a model using the parameters and inputs
specified in an experiment. You compare the simulated and measured outputs.
sim_obj
specifies the model stop time as the end time of the longest
running experiment output signal.
updates the values of the sim_obj
=
createSimulator(experiment
,sim_obj0
)Parameters
,
InitialStates
, Input
and
LoggingInfo
properties of the sdo.SimulationTest
object, sim_obj0
. It does so using the corresponding properties
specified by experiment
. sim_obj0.ModelName
must
be the same as experiment.ModelName
. You use this syntax to avoid
creating a simulation scenario object (sdo.SimulationTest
object) repeatedly
and, instead, modify an existing simulation scenario object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012b