Main Content

ssGetTNext

Get the time of the next sample hit

Syntax

time_T ssGetTNext(SimStruct *S)

Arguments

S

SimStruct that represents 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++

Version History

Introduced before R2006a