ssGetStopRequested
Get the value of the simulation stop requested flag
Syntax
int_T ssGetStopRequested(SimStruct *S)
Arguments
-
S
-
SimStruct representing an S-Function block or a Simulink®model.
Returns
Theint_T
value of the simulation stop requested flag.
Description
Gets the value of the simulation stop requested flag. If the value is1
, the Simulink engine halts the simulation at the end of the current time step.
语言
C, C++