ssIsMajorTimeStep
Determine whether the simulation is in a major step
Syntax
boolean_T ssIsMajorTimeStep(SimStruct *S)
Arguments
SSimStruct that represents an S-Function block.
Returns
The Boolean value true if the simulation is in a major time
step. Otherwise, returns false.
Description
Use to determine if the simulation is currently running at a major or minor time step.
Languages
C, C++
Examples
See the S-function sfun_atol.c used in sfcndemo_sfun_atol.
See Also
Version History
Introduced before R2006a