Contents

ssGetOffsetTime

Get one of an S-function's sample time offsets.

Syntax

time_T ssGetOffsetTime(SimStruct *S, int_T sti);

Arguments

S

SimStruct representing an S-Function block.

sti

Index of sample time offset to be returned

Returns

A time_T value indicating the sample time offset.

Description

Use to obtain the sample time offset of S corresponding to the index sti. See matlabroot/extern/include/tmwtypes.h for a description of the time_T data type.

Languages

C, C++

Was this topic helpful?