Writing S-Functions | ![]() ![]() |
Set the offset time of a block.
Syntax
Arguments
S
SimStruct representing an S-Function block.
st_index
Index of the sample time whose offset is to be set.
offset
Offset of the sample time specified by st_index
.
Description
Use this macro in mdlInitializeSizes
to specify the offset of the sample time where st_index
starts at 0.
Languages
See Also
ssSetSampleTime, ssSetInputPortOffsetTime, ssSetOutputPortOffsetTime
![]() | ssSetNumSFcnParams | ssSetOptions | ![]() |