ssSetOutputPortOffsetTime
Specify the offset time of an output port
Syntax
real_T ssSetOutputPortOffsetTime(SimStruct *S, int_T outputPortIdx, real_T offset)
Arguments
- S
- SimStruct that represents an S-Function block. 
- outputPortIdx
- Index of the output port whose sample time is being set. 
- offset
- Offset time of an output port. 
Returns
The real_T value of the offset time passed into the
                macro.
Description
Use in mdlInitializeSizes (after
                    ssSetNumOutputPorts) to specify the sample time offset value
                for each output port index. Output port index numbers start at 0 and end at the
                total number of output ports minus 1. This should only be used if you have specified
                the S-function's sample times as port-based.
Languages
C, C++
Examples
See the S-function sfun_multirate.c used in sfcndemo_sfun_multirate.
Version History
Introduced before R2006a