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
Does exactly what the name says. Output is very well formatted. Excellent tool for looking through big data structures.
Great job, though found I had to dig around a little on file exchange to find this post when searching for 'structure display'. An improvement on B. Roossien's original contribution.
What I needed !
No update to source code. Just added tags to help folks find it.
Inspired by: Structure display