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
Default: Off, xFinal
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.
Simulink software exports the final logged states during simulation.
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.
This parameter is enabled by Final states.
Parameter: SaveCompleteFinalSimState |
Value: 'on' | 'off' |
Default: 'off' |
Parameter: FinalStateName |
Type: character vector |
Value: any valid value |
Default: 'xFinal' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No recommendation |
Safety precaution | No recommendation |