Simulink Reference Previous page   Next Page
Width

Output the width of the input vector

Library

Signal Attributes

Description


The Width block generates as output the width of its input vector.

Data Type Support

The Width block accepts real or complex signals of any data type supported by Simulink, including fixed-point data types. The Width block supports mixed-type signal vectors.

For a discussion on the data types supported by Simulink, refer to Data Types Supported by Simulink in the Using Simulink documentation.

Parameters and Dialog Box

Output data type mode
Specify the output data type to be the same as the input, or inherit the data type by backpropagation. You can also choose to specify a built-in data type from the drop-down list in the Output data type parameter.
Output data type
This parameter is visible when Choose intrinsic data type is selected for the Output data type mode parameter. Choose a built-in data type from the drop-down list.

Characteristics

Sample Time
Constant
Dimensionalized
Yes


Previous page  While Iterator Subsystem Wrap To Zero Next page

© 1994-2005 The MathWorks, Inc.