Get the value of the simulation stop requested flag
int_T ssGetStopRequested(SimStruct *S)
S
SimStruct representing an S-Function block or a Simulink® model.
The int_T
value of the simulation stop requested flag.
Gets the value of the simulation stop requested flag. If the value is
1
, the Simulink engine halts the simulation at the end of the current time
step.
C, C++