File Exchange

image thumbnail

Structure Tree

version 1.0 (2.75 KB) by

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

4.33333
6 Ratings

5 Downloads

Updated

No License

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)

Comments and Ratings (7)

sorter

sorter (view profile)

nice!

Ben v O

Great work

Casper

Casper (view profile)

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!

Shadi

Shadi (view profile)

I 2nd Jim

Jim Daniel

Does what it says on the tin

hoa hong

MATLAB Release
MATLAB 6.5 (R13)

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

» Watch video