showcells

バージョン 1.3.0.0 (3.22 KB) 作成者: David Smith
Display contents and structure of a cell array using ASCII boxes.
ダウンロード: 233
更新 2013/1/31

ライセンスの表示

SHOWCELLS was inspired by the Dyalog APL display of boxed variables. It is intended to provide a clear visual display of the contents of a cell array.

If you have a cell array c = {1:4}, MATLAB normally shows this as [1x4 double], hiding the actual contents of the array. SHOWCELLS shows the contents, as well as providing a visualization of the shape and nesting of cell arrays.

SHOWCELLS can return a char array of the rendering as well. For arrays with three or more dimensions, the representation is saved as a cell array of char matrices.

引用

David Smith (2024). showcells (https://www.mathworks.com/matlabcentral/fileexchange/40018-showcells), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructures についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

showcells/

バージョン 公開済み リリース ノート
1.3.0.0

Replaced ISMATRIX with test for NDIMS > 2. This should allow older versions of MATLAB to run SHOWCELLS.

1.2.0.0

Added support for N-dimensional cell arrays; reduced memory usage; added indentation to make consistent with MATLAB's display of variables.

1.1.0.0

Updated screenshot to show traditional MATLAB view of cells along with SHOWCELLS output. Tiny tweaks to source code spacing and punctuation, no functional changes.

1.0.0.0