Writing S-Functions Previous page   Next Page
ssSetOutputPortOffsetTime

Specify the offset time of an output port

Syntax

Arguments

S
   SimStruct representing an S-Function block.

outputPortIdx
   Index of the output port whose sample time is being set.

Sample time of an output port.

Description

Use in mdlInitializeSizes (after ssSetNumOutputPorts) to specify the sample time offset value for each output port index. This should only be used if you have specified the S-function's sample times as port-based.

Languages

C

See Also

ssSetNumOutputPorts, ssSetOutputPortSampleTime


Previous page  ssSetOutputPortMatrixDimensions ssSetOutputPortOptimOpts Next page

© 1994-2005 The MathWorks, Inc.