Writing S-Functions Previous page   Next Page
ssSetStopRequested

Set the simulation stop requested flag

Syntax

Arguments

S
   SimStruct representing 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 not 0, Simulink halts the simulation at the end of the current time step.

Languages

C

See Also

ssGetStopRequested


Previous page  ssSetSolverNeedsReset ssSetTNext Next page

© 1994-2005 The MathWorks, Inc.