How to map the layout of a complicated variable (cells, structures, & arrays) with an "organizational chart"?

3 views (last 30 days)
Does MATLAB already have, or has anyone submitted, a MATLAB script to map the layout of a complicated variable (having cells, structures, and/or arrays)?
I use such structures to associate all of the data and headers for files describing multiple signals with headers for each signal as well as with headers for each time sample of a particular signal.
Since one would not know the layout in advance, and one would not know the "depth" of the variable's layout, I am imagining that such a MATLAB script would be recursive and repeat some of the same questions (or variable type-ing functions) at each new sub-level.
Is anyone aware of such a function? Has anyone tried to write such a function before?
Thank you!

Accepted Answer

Oleg Komarov
Oleg Komarov on 25 Apr 2011
Give a look at vsize
It dissects "complicated" variables.

More Answers (0)

Categories

Find more on Data Type Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!