Writing S-Functions Previous page   Next Page
ssSetTNext

Set the time of the next sample hit

Syntax

Arguments

S
   SimStruct representing an S-Function block.

tnext
   Time of the next sample hit.

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

C

See Also

ssGetTNext, ssGetT, mdlGetTimeOfNextVarHit


Previous page  ssSetStopRequested ssSetUserData Next page

© 1994-2005 The MathWorks, Inc.