UNFOLD_STRUCTURE Unfold and show the content of the given structure.
UNFOLD_STRUCTURE(STRUCT) shows recursively the content of the given structure STRUCT. Clean and generic implementation which can be easily extended, e.g. for structures containing cells.
Works fine, thanks. Of course I have one suggestion!
Instead of requiring that the structure name be passed separately as a string, get the name by calling inputname(1). I found that useful little trick here on File Exchange, in the structstuct function.
No need to explicitly specify the root name of the structure (thanks to nan's suggestion)
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.