Save complete SimState in final state
Note
Save complete SimState in final state is not recommended. Use Save final operating point instead.
Description
At the end of a simulation, Simulink® saves the complete set of states of the model, including logged states, to the specified MATLAB® variable.
Category: Data Import/Export
Settings
Default: Off, xFinal
On
Simulink software exports the complete set of final state data (i.e., the SimState) to the MATLAB workspace during simulation.
Specify the name of the MATLAB variable in which to store the values of the final states. See Importing and Exporting States for more information.
Off
Simulink software exports the final logged states during simulation.
Tips
You must select the Final states check box to enable the Save complete SimState in final state option.
Simulink saves the final states in a MATLAB workspace variable having the specified name.
Dependencies
This parameter is enabled by Final states.
Programmatic Use
Parameter:
SaveCompleteFinalSimState |
Value:
'on' | 'off' |
Default:
'off' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |