Writing S-Functions | ![]() ![]() |
Get the sample time index of an input port.
Syntax
int_T ssGetInputPortSampleTimeIndex(SimStruct *S, int_T inputPortIdx)
Arguments
S
SimStruct representing an S-function block or a Simulink model.
Description
Returns the index of the sample time for the port.
Languages
See Also
ssSetInputPortSampleTimeIndex
![]() | ssGetInputPortSampleTime | ssGetInputPortSignal | ![]() |