Writing S-Functions    
ssGetInputPortSampleTimeIndex

Get the sample time index of an input port.

Syntax

Arguments

S
   SimStruct representing an S-Function block or a Simulink model.

inputPortIdx
   Index of the input port whose sample time index is being set.

Description

Returns the index of the sample time for the port.

Languages

C, C++

See Also
ssSetInputPortSampleTimeIndex


  ssGetInputPortSampleTime ssGetInputPortSignal