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.
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!
I 2nd Jim
Does what it says on the tin
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.