Recursively print/display hierarchical outline of structure contents
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Recursively print hierarchical outline of structure contents. This is a minor adaptation of the File Exchange contribution "Structure outline" written by B. Roossien. Changes include:
- automatic determination of input structure variable name, which is used to title each struct
- included output argument that, when defined, returns the printed struct as char cell array and suppresses output to command window
- input specification and defining default values is easier and more flexible
- (possibly) better handling of structure arrays
Cite As
Bob Spunt (2026). PRINTSTRUCT | Recursively print structures to the command window or a cell char array (https://github.com/spunt/printstruct), GitHub. Retrieved .
Acknowledgements
Inspired by: Structure display
General Information
- Version 1.0.0.0 (6.1 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
No update to source code. Just added tags to help folks find it.
|
