Writing S-Functions Previous page   Next Page
ssSetOutputPortSampleTime

Specify the sample 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 output port.

Description

Use in mdlInitializeSizes (after ssSetNumOutputPorts) to specify the sample time period as continuous or as a discrete value for each output port index. This should only be used if you have specified port-based sample times.

Languages

C

See Also

ssSetNumOutputPorts, ssSetOutputPortOffsetTime


Previous page  ssSetOutputPortOverwritesInputPort ssSetOutputPortVectorDimension Next page

© 1994-2005 The MathWorks, Inc.