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 matlabroot/toolbox/simulink/simdemos/simfeatures/src/sfun_zc_sat.c used
in sfcndemo_sfun_zc_sat.mdl.
See Also
ssSetOffsetTime, ssGetSampleTime
 | ssGetNumSFcnParams | | ssGetOutputPortBeingMerged |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit