Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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++

Example

See the S-function sfun_zc_sat.c used in sfcndemo_sfun_zc_sat.

Introduced before R2006a

Was this topic helpful?