No License

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

» Watch video

Highlights from
Structure Tree

4.3 | 6 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.75 KB File ID: #4804 Version: 1.0

Structure Tree


Juan Vega (view profile)


23 Apr 2004 (Updated )

Prints to a file the fields of a structure in tree format.

| Watch this File

File Information

This function prints all the fieldnames of the specified structure in a file. By default, the file will be saved in the MATLAB's currrent directory.

Format: structree(structure,filename)

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
12 Apr 2016 sorter

sorter (view profile)


26 Mar 2013 Ben v O

Great work

21 Feb 2012 Casper

Casper (view profile)

03 Aug 2010 Jeremy

Jeremy (view profile)

Suggestion: I modified the input to allow no filename to be given in which case fid is set to 1 (standard output). Nice work though, was giving myself a headache trying to do the recursion through the levels properly!

Comment only
22 Jun 2009 Shadi

Shadi (view profile)

I 2nd Jim

13 Jun 2008 Jim Daniel

Does what it says on the tin

19 Jun 2004 hoa hong

Contact us