Writing S-Functions | ![]() ![]() |
Get the offset time of an input port.
Syntax
ssGetInputPortOffsetTime(SimStruct *S,inputPortIdx)
Arguments
S
SimStruct representing an S-function block.
Description
Use in any routine (except mdlInitializeSizes
) to determine the offset time of an input port. This should only be used if you have specified the sample times as port-based.
Languages
See Also
ssSetInputPortOffsetTime, ssGetInputPortSampleTime
![]() | ssGetInputPortNumDimensions | ssGetInputPortOverWritable | ![]() |