setup
Configure simulation scenario and model for optimization and evaluation
Since R2024a
Description
configures simulation scenario simulator_out
= setup(simulator
)simulator
and its associated Simulink® model for optimization and evaluation. This configuration includes the
following steps:
Configure the model to allow optimization of reference configuration sets.
For parameter estimation using an
sdo.Experiment
object or sensitivity analysis using a signal-matching requirement, configure the model to produce outputs at the same times as the measured experiment data points.Activate signal logging, which the software uses to evaluate requirements and experiments.
By default, the scenario and model are not configured for fast restart.
enables or disables fast restart for the simulation scenario and model. Fast restart
configures the model to compile once when first simulated. Subsequent model simulations
reuse the compiled data, speeding up subsequent simulation runs.simulator_out
= setup(simulator
,FastRestart='on')
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024a