Writing S-Functions | ![]() ![]() |
Set the offset time of a block.
Syntax
ssSetOffsetTime(SimStruct *S, st_index, period)
Arguments
S
SimStruct representing an S-function block.
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 | ![]() |