Writing S-Functions    
ssSetOffsetTime

Set the offset time of a block.

Syntax

Arguments
S
   SimStruct representing an S-function block.

st_index
   Index of 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

ssSetSampleTime, ssSetInputPortOffsetTime, ssSetOutputPortOffsetTime


 ssSetNumSFcnParams ssSetOptions