Get the offset time of an input port
real_T ssGetInputPortOffsetTime(SimStruct *S, int_T inputPortIdx)
S
SimStruct representing an S-Function block.
inputPortIdx
Index of the port whose offset time is required.
A real_T
value indicating the offset time of the input port
specified by the index inputPortIdx
.
Use in any routine (except mdlInitializeSizes
) to determine the
offset time of an input port. Use ssGetInputPortOffsetTime
only
if you have specified the sample times as port-based.
C, C++