properties
List the properties of a class or object.
Syntax
Section titled “Syntax”s = properties(object)s = properties(classname)s = properties(..., '-full')Description
Section titled “Description”Returns a cell array of property names defined on the class. Same arguments as methods.
Example
Section titled “Example”properties('MException') % {'identifier', 'message', 'stack', 'cause'}See also
Section titled “See also”methods— List the methods of a class or object.class— Class name of an object.fieldnames— List of field names in a structure.