Writing S-Functions | ![]() ![]() |
Get the sample time of an output port.
Syntax
Arguments
S
SimStruct representing an S-Function block.
outputPortIdx
Index of an output port.
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
ssSetOutputPortSampleTime
![]() | ssGetOutputPortReusable | ssGetOutputPortSignal | ![]() |