Writing S-Functions    
ssSetInputPortOffsetTime

Specify the offset time of an input port.

Syntax

Arguments

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

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

Offset time.

Description

Use in mdlInitializeSizes (after ssSetNumInputPorts) to specify the sample time offset for each input port index. You can use this macro in conjunction with ssSetInputPortSampleTime if you have specified port-based sample times for your S-function.

Languages

C

See Also
ssSetNumInputPorts, ssSetInputPortSampleTime


  ssSetInputPortMatrixDimensions ssSetInputPortOverWritable