Last change
on this file since 177 was
37,
checked in by (none), 15 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
466 bytes
|
Line | |
---|
1 | function 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 |
|
---|
11 | names = {};
|
---|
12 | ke = s.obj.get('_fields').elements;
|
---|
13 | while ke.hasMoreElements
|
---|
14 | names{end+1} = ke.nextElement;
|
---|
15 | end
|
---|
Note: See
TracBrowser
for help on using the repository browser.