ssSetStopRequested
Set the simulation stop requested flag
Syntax
void ssSetStopRequested(SimStruct *S, int_T val)
Arguments
SSimStruct that represents an S-Function block or a Simulink® model.
valBoolean 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