No BSD License  

Highlights from
Structure Tree

4.0

4.0 | 4 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.75 KB File ID: #4804

Structure Tree

by Juan Vega

 

23 Apr 2004 (Updated 28 Apr 2004)

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

| Watch this File

File Information
Description

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
19 Jun 2004 hoa hong  
13 Jun 2008 Jim Daniel

Does what it says on the tin

22 Jun 2009 Shadi

I 2nd Jim

03 Aug 2010 Jeremy

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!

21 Feb 2012 Casper  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
structures Juan Vega 22 Oct 2008 07:18:24
cell arrays Juan Vega 22 Oct 2008 07:18:24
tree Juan Vega 22 Oct 2008 07:18:24
structure Juan Vega 22 Oct 2008 07:18:24
file Juan Vega 22 Oct 2008 07:18:24
utilities Juan Vega 22 Oct 2008 07:18:24
tree Chia 22 Dec 2008 00:28:12
cell arrays Chang hsiung 07 Jan 2009 13:19:07
tree Chang hsiung 07 Jan 2009 13:19:53
tree Javaneh Azimi 29 Sep 2009 07:13:47
tree James Gwilliam 27 Mar 2012 13:44:16

Contact us at files@mathworks.com