User`s guide
The C MEX S-Function SimStruct
3-111
ssIsSampleHit(S,st_index,
tid)
Used in mdlOutputs or mdlUpdate when your S-function has
multiple sample t imes to determine what task your S-function
is executing in. This should not be used in single rate
S-functions or for the
st_index corresponding to a continuous
task.
ssIsContinuousTask(S,tid)
Used in mdlOutputs or mdlUpdate when your S-function has
multiple sample times to determine if your S-function is
executing in the continuous task. This should not be used in
single rate S-functions, or if you d id not register a continuous
sample time.
Table 3-9: Sample Time SimStruct Macros (Continued)
Macro Description