setup
R2026bSet up simulation configuration and model for optimization and evaluation
Since R2024a
Description
sets up simulation configuration simulator_out = setup(simulator)simulator and its associated
Simulink® model for optimization and evaluation. This setting up includes the following steps:
Set up the model to allow optimization of reference configuration sets.
For parameter estimation using an
sdo.Experimentobject or sensitivity analysis using a signal-matching requirement, set up 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 configuration and model are not set up for fast restart.
enables or disables fast restart for the simulation configuration 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
