The output matrix has dimension M i-by-N, where M i is the number of rows in input u i ( i = 1, 2, ., n). When the Concatenation method parameter is set to Vertical, the block concatenates the input matrices along columns.įor vertical concatenation, inputs must all have the same column dimension, N, but can have different row dimensions. When some of the inputs are length-M 1-D vectors while others are M-by-N i matrices, the vector inputs are treated as M-by-1 matrices. The output matrix has dimension M-by- N i, where N i is the number of columns in input u i ( i = 1, 2, ., n).
When the Concatenation method parameter is set to Horizontal, the block concatenates the input matrices along rows. If all inputs are sample-based, the output is sample-based. The block accepts inputs with any combination of built-in Simulink data types and/or fixed-point data types. The Matrix Concatenation block concatenates input matrices u 1, u 2, ., u n along rows or columns, where n is specified by the Number of inputs parameter. Matrix Concatenation (Simulink Reference) Simulink ReferenceĬoncatenate inputs horizontally or vertically