Writing S-Functions    
ssSetInputPortSampleTimeIndex

Specify 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.

Sample time index.

Description

Use in mdlInitializeSizes (after ssSetNumInputPorts) to specify the index of the sample time for the port to be used in mdlOutputs and mdlOutputs when checking for sample hits.

Languages

C, C++

See Also
ssGetInputPortSampleTimeIndex, mdlInitializeSizes, ssSetNumInputPorts, mdlOutputs, mdlOutputs


  ssSetInputPortSampleTime ssSetInputPortVectorDimension