source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/@mutable/fieldnames.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

  • Property svn:executable set to *
File size: 466 bytes
Line 
1function names = fieldnames(s)
2%FIELDNAMES Get mutable structure field names.
3% names = fieldnames(s) returns a cell array of strings containing the
4% structure field names associated with the mutable structure s.
5%
6% See also GETFIELD, SETFIELD, RMFIELD, ISFIELD.
7
8% Written by Tom Minka
9% (c) Microsoft Corporation. All rights reserved.
10
11names = {};
12ke = s.obj.get('_fields').elements;
13while ke.hasMoreElements
14  names{end+1} = ke.nextElement;
15end
Note: See TracBrowser for help on using the repository browser.