| Writing S-Functions | ![]() |
Get the offset time of an output port.
Syntax
real_T ssGetOutputPortOffsetTime(SimStruct *S,outputPortIdx)
Arguments
S
SimStruct representing an S-function block.
Description
Use in any routine (except mdlInitializeSizes) to determine the sample time of an output port. This macro should only be used if you have specified port-based sample times.
Languages
See Also
ssSetOutputOffsetTime, ssGetOutputPortSampleTime
| ssGetOutputPortNumDimensions | ssGetOutputPortRealSignal | ![]() |