Writing S-Functions | ![]() ![]() |
Determine whether a task is continuous.
Syntax
Arguments
S
SimStruct representing an S-Function block.
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
See Also
ssSetNumContStates
![]() | ssGetUserData | ssIsFirstInitCond | ![]() |