Writing S-Functions Previous page   Next Page
ssSetOffsetTime

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

C

See Also

ssGetOffsetTime, ssSetSampleTime, ssSetInputPortOffsetTime, ssSetOutputPortOffsetTime


Previous page  ssSetNumSFcnParams ssSetOneBasedIndexInputPort Next page

© 1994-2005 The MathWorks, Inc.