Set the time of the next sample hit
void ssSetTNext(SimStruct *S, time_T tnext)
S
SimStruct representing an S-Function block.
tnext
Time of the next sample hit.
A discrete S-function with a variable sample time should use this macro in
mdlGetTimeOfNextVarHit
to specify the time of the next sample
hit.
C, C++
See the S-function vsfunc.c
used in sfcndemo_vsfunc
.