Writing S-Functions    
ssSetInputPortVectorDimension

Specify dimension information for an input port that accepts vector signals.

Syntax

Arguments
S
   SimStruct representing an S-function block.

port
   Index of an input port

Width of vector or DYNAMICALLY_SIZED

Description

Specifies that port accepts a w-element vector signal.

Languages

C

Example

The following example specifies that input port 0 accepts an 8-element matrix signal.

See Also
ssSetInputPortDimensionInfo, ssSetInputPortWidth


 ssSetInputPortSampleTimeIndex ssSetInputPortWidth