| Contents | Index |
void ssSetTNext(SimStruct *S, time_T tnext)
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.mdl.
ssGetTNext, ssGetT, mdlGetTimeOfNextVarHit

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |