Documentation Center

  • Trial Software
  • Product Updates

Permute Dimensions

Rearrange dimensions of multidimensional array dimensions

Library

Math Operations

Description

The block reorders the elements of the input signal so that they are in the order you specify in the Order parameter.

Data Type Support

This block accepts signals of any data type that Simulink® supports, including fixed-point and enumerated data types. Output must be the same data type as the input.

You can use an array of buses as an input signal to a Permute Dimensions block. For details about defining and using an array of buses, see Combine Buses into an Array of Buses.

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

Order

Specify the permutation order to apply to the dimensions of the input signal. This parameter is a vector of elements, where the number of elements in the vector is the number of dimensions of the input signal.

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited from driving block

Scalar Expansion

No

Dimensionalized

Yes

Multidimensionalized

Yes

Zero-Crossing Detection

No

See Also

Math Function (transpose), permute (in the MATLAB® reference documentation)

Was this topic helpful?