Get the offset time of an output port
real_T ssGetOutputPortOffsetTime(SimStruct *S, int_T outputPortIdx)
S
SimStruct representing an S-function block.
outputPortIdx
Index of an output port.
A real_T
value indicating the offset time of the output port
specified by the index outputPortIdx
.
Use in any routine (except mdlInitializeSizes
) to determine the
offset time of an output port. This macro should only be used if you have specified
port-based sample times.
C, C++
See the S-function sfun_multirate.c
used in sfcndemo_sfun_multirate
.