Writing S-Functions    
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


  ssSetOutputPortSampleTime ssSetOutputPortWidth