This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Permute Dimensions

Rearrange dimensions of multidimensional array dimensions


Math Operations


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, enumerated, and nonvirtual bus 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.



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.


Data Types

Double | Single | Boolean | Base Integer | Fixed-Point | Enumerated | Bus

Sample Time

Inherited from driving block

Direct Feedthrough


Multidimensional Signals


Variable-Size Signals


Zero-Crossing Detection


Code Generation


See Also

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

Introduced in R2007a

Was this topic helpful?