3K Downloads
Updated
11 Feb 2003
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 (2026). Display_structure (https://uk.mathworks.com/matlabcentral/fileexchange/2031-display_structure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
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... |
