ssIsMajorTimeStep
Determine whether the simulation is in a major step
Syntax
boolean_T ssIsMajorTimeStep (SimStruct *年代)
Arguments
-
S
-
SimStruct representing an S-Function block.
Returns
The Boolean valuetrue
if the simulation is in a major time step. Otherwise, returnsfalse
.
Description
Use to determine if the simulation is currently running at a major or minor time step.
Languages
C, C++
Example
See the S-functionsfun_zc.c
used insfcndemo_sfun_zc
and the S-functionsfun_atol.c
used insfcndemo_sfun_atol
.