%% Convert 2-D Matrix to 1-D Array

% Copyright 2019 The MathWorks, Inc.

%%
% In this model, the <docid:dsp_ref#f3-933024 Convert 2-D to 1-D>
% block takes the 2-D input matrix and outputs an _N_-element vector, where
% _N_ is the total number of elements in the input matrix. The block performs a
% column-wise conversion. The first set of elements of the output array
% is composed of the first column of the input matrix, the second set of
% elements is composed of the second column, and so on.
model = "ex_convert2d_to_1d";
open_system(model);
sim(model);
