Writing S-Functions | ![]() ![]() |
Get the sample time of an output port.
Syntax
ssGetOutputPortSampleTime(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
ssSetOutputSampleTime
![]() | ssGetOutputPortReusable | ssGetOutputPortSignal | ![]() |