Skip to Main Content Skip to Search
Product Documentation

ssGetTNext - Get the time of the next sample hit

Syntax

time_T ssGetTNext(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

A value of type time_T.

Description

Use to determine the next time that a sample hit occurs in a discrete S-function with a variable sample time. See matlabroot/extern/include/tmwtypes.h for a description of the time_T data type.

Languages

C, C++

See Also

ssSetTNext, mdlGetTimeOfNextVarHit

  


Related Products & Applications

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