Determine whether the simulation is in a major step
boolean_T ssIsMajorTimeStep(SimStruct *S)
S
SimStruct representing an S-Function block.
The Boolean value true
if the simulation is in a major time
step. Otherwise, returns false
.
Use to determine if the simulation is currently running at a major or minor time step.
C, C++
See the S-function sfun_zc.c
used in sfcndemo_sfun_zc
and the S-function sfun_atol.c
used in sfcndemo_sfun_atol
.