Save final operating point
Option to save complete model operating point when simulation is paused or stopped
Model Configuration Pane: Data Import/Export
Description
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.
Dependencies
To enable this parameter, select Final states.
Settings
off
(default) | on
off
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.
on
The software saves complete information about the simulation state as a
Simulink.op.ModelOperatingPoint
object. The operating point information is stored in the Final states logging variable.
Examples
Recommended Settings
The table summarizes recommended values for this parameter based on considerations related to code generation.
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |
Programmatic Use
Parameter: SaveOperatingPoint |
Value: 'on' | 'off' |
Default: 'off' |