ShowStructTree.m

Display the fields of a structure as a tree.
316 Downloads
Updated 15 Apr 2013

View License

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 (2024). ShowStructTree.m (https://www.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 Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0