%% Display Contents of Each Cell
% Create a cell array.

C = {'row1',[1 2 3],3+4i;
     'row2',[2 4;1 3],{'innercells',42}}

%
% Display the contents of each cell using the celldisp function. celldisp also displays the curly-brace indexing you can use to index into cells.

celldisp(C)

%
% The last cell contains a cell array. celldisp also displays the contents of each cell from the inner cell array.
% Copyright 2018 The MathWorks, Inc.