Writing S-Functions | ![]() ![]() |
Set the simulation stop requested flag.
Syntax
ssSetStopRequested(SimStruct *S, val)
Arguments
S
SimStruct representing an S-function block or a Simulink model.
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 not zero, Simulink halts the simulation at the end of the current time step.
Languages
See Also
![]() | ssSetSolverNeedsReset | ssSetTNext | ![]() |