celldisp - Cell array contents
Syntax
celldisp(C)
celldisp(C, name)
Description
celldisp(C) recursively displays
the contents of a cell array.
celldisp(C, name) uses
the string name for the display instead of the
name of the first input (or ans).
Examples
Use celldisp to display the contents of a 2-by-3
cell array:
C = {[1 2] 'Tony' 3+4i; [1 2;3 4] -5 'abc'};
celldisp(C)
C{1,1} =
1 2
C{2,1} =
1 2
3 4
C{1,2} =
Tony
C{2,2} =
-5
C{1,3} =
3.0000+ 4.0000i
C{2,3} =
abcSee Also
cellplot
 | cell2struct | | cellfun |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit