View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Unfold structures

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.48 KB File ID: #31808 Version: 1.1

Unfold structures



15 Jun 2011 (Updated )

Unfold and show the content of the given structure.

| Watch this File

File Information

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.

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
04 Oct 2011 nan

nan (view profile)

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.

04 Oct 2011 1.1

No need to explicitly specify the root name of the structure (thanks to nan's suggestion)

Contact us