Writing S-Functions Previous page   Next Page
ssIsContinuousTask

Determine whether a task is continuous

Syntax

Arguments

S
   SimStruct representing an S-Function block.

tid
   Task ID.

Description

Use in mdlOutputs or mdlUpdate when your S-function has multiple sample times to determine whether your S-function is executing in the continuous task. You should not use this in single-rate S-functions, or if you did not register a continuous sample time.

Languages

C

See Also

ssSetNumContStates


Previous page  ssGetUserData ssIsFirstInitCond Next page

© 1994-2005 The MathWorks, Inc.