| Writing S-Functions | ![]() |
Set the time of the next sample hit.
Syntax
void ssSetTNext(SimStruct *S, time_T tnext)
Arguments
S
SimStruct representing an S-function block
Description
A discrete S-function with a variable sample time should use this macro in mdlGetTimeOfNextVarHit to specify the time of the next sample hit.
Languages
See Also
ssGetTNext, ssGetT, mdlGetTimeOfNextVarHit
| ssSetStopRequested | ssSetUserData | ![]() |