| Writing S-Functions | ![]() |
Get the sample time of an input port.
Syntax
ssGetInputPortSampleTime(SimStruct *S, inputPortIdx)
Arguments
S
SimStruct representing an S-function block.
Description
Use in any routine (except mdlInitializeSizes) to determine the sample time of an input port. You should use this macro only if you have specified the sample times as port-based.
Languages
See Also
ssSetInputPortSampleTime, ssGetInputPortOffsetTime
| ssGetInputPortReusable | ssGetInputPortSampleTimeIndex | ![]() |