| MATLAB Function Reference | ![]() |
celldisp(C)
celldisp(C, name)
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).
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} =
abc![]() | cell2struct | cellfun | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |