ShowStructTree.m

Display the fields of a structure as a tree.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/41301-showstructtree-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0