fieldnames
- :
names =fieldnames(obj)¶ Return the field names of obj as a column cell array of strings.
For a structure (or structure array) these are the field names in the order in which they were created. For a table seen by user code they are the variable names followed by
Properties,RowandVariables(as in MATLAB). For an object of a class with public properties, or for the name of such a class, they are the names of the public properties. For a Java object, or the name of a Java class, they are the public fields. For a graphics handle they are the names of its properties.