ShowStructTree.m
Version 1.0.0.0 (1.37 KB) by
Richard Moore
Display the fields of a structure as a tree.
Some functions that I use, especially ones that read complicated file types, produce complicated structures with many sub fields. This function displays the structure and all of the sub fields as an ascii tree in the command line terminal.
It does NOT actually show the contents of the fields, just the names of the fields.
Cite As
Richard Moore (2026). ShowStructTree.m (https://in.mathworks.com/matlabcentral/fileexchange/41301-showstructtree-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
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 |
