Writing S-Functions Previous page   Next Page
ssSetOutputPortVectorDimension

Specify dimension information for an output port that emits vector signals

Syntax

Arguments

S
   SimStruct representing an S-Function block.

port
   Index of an output port.

Width of vector or DYNAMICALLY_SIZED.

Description

Specifies that port emits a w-element vector signal. Returns 1 if successful; otherwise, 0.

Example

The following example specifies that output port 0 emits an 8-element matrix signal.

Languages

C

See Also

ssSetOutputPortWidth


Previous page  ssSetOutputPortSampleTime ssSetOutputPortWidth Next page

© 1994-2005 The MathWorks, Inc.