Writing S-Functions Previous page   Next Page
ssSetOutputPortDimensionInfo

Specify information about the dimensionality of an output port

Syntax

Arguments

S
   SimStruct representing an S-function block.

port
   Index of an output port.

Structure of type DimsInfo_T that specifies the dimensionality of the signals emitted by port.

See ssSetInputPortDimensionInfo for a description of this structure.

Description

Specifies the dimension information for port. Use this function in mdlInitializeSizes to initialize the output port dimension info. If you want the port to inherit its dimensionality from the block to which it is connected, specify DYNAMIC_DIMENSION as the dimsInfo for port.

Languages

C

Example

The following example specifies that input port 0 accepts 2-by-2 matrix signals.

See Also

ssSetInputPortDimensionInfo


Previous page  ssSetOutputPortDataType ssSetOutputPortFrameData Next page

© 1994-2005 The MathWorks, Inc.