Save final operating point
Option to save complete model operating point when simulation is paused or stopped
Model Configuration Pane: Data Import/Export
When the simulation is paused or stops, the software saves the complete model operating point, including block states, hidden block states, the state of the solver and execution engine, and some block output values, to the specified MATLAB® variable.
To enable this parameter, select Final states.
If you select Final states, the software exports only the final values for block states at the end of simulation. This information might not be sufficient to accurately resume a simulation from the same point.
The software saves complete information about the simulation state as a
Simulink.op.ModelOperatingPointobject. The operating point information is stored in the Final states logging variable.
The table summarizes recommended values for this parameter based on considerations related to code generation.
|Safety precaution||No recommendation|
Version HistoryIntroduced in R2019a
R2019a: Save complete SimState in final state parameter renamed to Save final operating point
The Save complete SimState in final state parameter, which was introduced
in R2009a, is renamed and replaced with the Save final operating
point parameter. To programmatically configure the parameter in
previous releases, you used the
parameter. Starting in R2019a, use the
In most cases, you do not need to update models or scripts in response to this change. The
SaveCompleteFinalSimState parameter continues to work and
results in the same behavior as the