ssSetStopRequested
Set the simulation stop requested flag
Syntax
void ssSetStopRequested(SimStruct *S, int_T val)
Arguments
S
SimStruct that represents an S-Function block or a Simulink® model.
val
Boolean value (
int_T
) specifying whether stopping the simulation has been requested (1) or not (0).
Description
Sets the simulation stop requested flag to val
. If
val
is 1, the Simulink engine halts the simulation at the end of the current time
step.
Languages
C, C++
See Also
Version History
Introduced before R2006a