Writing S-Functions Previous page   Next Page
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


Previous page  ssSetInputPortMatrixDimensions ssSetInputPortOptimOpts Next page

© 1994-2005 The MathWorks, Inc.