| 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
ssGetOffsetTime, ssSetSampleTime, ssSetInputPortOffsetTime, ssSetOutputPortOffsetTime
| ssSetNumSFcnParams | ssSetOneBasedIndexInputPort | ![]() |
© 1994-2005 The MathWorks, Inc.