| Simulink® | ![]() |
Math Operations
The Squeeze block removes singleton dimensions from its multidimensional input signal. A singleton dimension is any dimension whose size is one.
Note The Squeeze block operates only on signals whose number of dimensions is greater than two. Scalar, one-dimensional (vector), and two-dimensional (matrix) signals pass through the Squeeze block unchanged. |
For example, the Squeeze block in the following diagram converts a multidimensional array of size 3-by-1-by-2 into a 3-by-2 signal.

The Squeeze block accepts input signals of any dimension and of any data type that Simulink software supports, including fixed-point and enumerated data types. For a discussion on the data types supported by Simulink software, see Data Types Supported by Simulink.

Direct Feedthrough | Yes |
Sample Time | Inherited from driving block |
Scalar Expansion | N/A |
Dimensionalized | Yes |
Multidimensionalized | Yes |
Zero Crossing | No |
![]() | Slider Gain | State-Space | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |