No License
This function extends the functionality of 'disp'. If a structure contains a structure, the fields in this structure are also displayed.
The indent before the fieldnames in a structure is increased (3rd argument). The initial indentation is given by the 2nd argument. Actually, this is just a slightly modified version of my own sort_structure version.
Cite As
Mark Jobse (2024). Display_structure (https://www.mathworks.com/matlabcentral/fileexchange/2031-display_structure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Can now display also cell arrays. Cells are displayed as a structure with each cell having a name like: 'cell1', 'cell2', etc... |