| File Information |
| Description |
SHOWCELL Displays cell array with long strings in the command window.
CELL\DISP Overloaded DISP method for cell arrays.
CELL\DISPLAY Overloaded DISPLAY method for cell arrays.
SHOWCELL(A) displays the contents of a cell array A in the command window. It will format the display so that long strings will display appropriately.
Typically, if a cell array contains long strings, it will not display the text:
>> A
A =
[3] 'this is a text.' 'hello'
[4] 'More text' [ 32]
[6] [1x54 char] [ 53]
SHOWCELL will display it properly:
>> showcell(A)
[ 3] 'this is a text.' 'hello'
[ 4] 'More text' [32]
[ 6] 'This is a very long text that may not show up properly' [53]
Acceptable numbers are of class DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64. Elements other than CHAR or numbers are displayed as the size and name of the object,
e.g. [1x1 struct]
SHOWCELL(A,'option1',value1,...) specifies optional arguments passed in in pairs. Valid options are (abbreviated names accepted):
'spacing' - column spacing. Default is 4 spaces.
'numformat' - number of digits OR format string (see SPRINTF) for numerical values. Default is 5 digits.
Example:
showcell(A, 'spacing', 5);
showcell(A, 'numformat', 3);
showcell(A, 'n', '%0.4f');
showcell(A, 'sp', 2, 'nu', 6);
See also DISP, DISPLAY |
| Acknowledgements |
This file inspired
Seis Lab 3.01.
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (12) |
| 04 Aug 2011 |
adam
|
|
|
| 07 Jul 2009 |
Chuanzhi
|
|
|
| 31 Jan 2006 |
Jiro Doke
|
|
|
| 30 Jan 2006 |
Jiro Doke
|
|
|
| 30 Jan 2006 |
urs (us) schwarz
|
|
|
| 30 Jan 2006 |
Jiro Doke
|
|
|
| 28 Jan 2006 |
Jiro Doke
|
|
|
| 28 Jan 2006 |
John D'Errico
|
|
|
| 28 Jan 2006 |
Jiro Doke
|
|
|
| 28 Jan 2006 |
urs (us) schwarz
|
|
|
| 28 Jan 2006 |
urs (us) schwarz
|
|
|
| 28 Jan 2006 |
Yevgen Gorshkov
|
|
|
| Updates |
| 30 Jan 2006 |
Now allows more types of numeric class (DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64) |
| 30 Jan 2006 |
Now allows more types of numeric class (DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64) |
| 30 Jan 2006 |
Now allows more types of numeric class (DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64) |
| 30 Jan 2006 |
Now allows more types of numeric class (DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64) |
| 30 Jan 2006 |
Now allows more types of numeric class (DOUBLE, SINGLE, LOGICAL, UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64) |
| 30 Jan 2006 |
Each column does not have to be of the same class. The cell elements can be of any class. |
| 30 Jan 2006 |
Minor bug fixes. Fixed problems with displaying empty cell elements. Also supplying an overloaded DISPLAY method for cell arrays. |
| 01 Feb 2006 |
Fixed displaying of an empty cell {}. Remove MORE function, since this can be achieved externally by calling MORE. |
| 01 Feb 2006 |
Fixed displaying of an empty cell {}. Remove MORE function, since this can be achieved externally by calling MORE. |
| 10 Feb 2006 |
Displays multi-dimension cells correctly. |
| 02 Nov 2010 |
License update |
|