Class: sdo.SimulationTest
Package: sdo
Simulate Simulink model in fast restart mode using simulation scenario
Simulator_out = fastRestart(Simulator,EnablefastRestart)
configures
a Simulink® model and simulation scenario specified in Simulator_out
= fastRestart(Simulator
,EnablefastRestart
)sdo.SimulationTest
object, Simulator
,
for simulation in fast restart mode. Fast restart configures the model
to compile once when first simulated. Subsequent model simulations
reuse the compiled data, speeding up subsequent simulation runs.
To optimize, evaluate, or estimate a Simulink model,
first create a simulator configured for fast restart (Simulator_out
).
Then use Simulator_out
as an input to your cost
function. If you create a simulator in the cost function, you cannot
use fast restart mode.
When you enable fast restart, you can change only tunable properties of the model.
To linearize the model, specify the linearization
logging information in the SystemLoggingfInfo
property
of Simulator
before configuring the model for
fast restart.
find
| sdo.evaluate
| sdo.optimize
| sdo.SimulationTest
| sim
| who