methods
List the methods of a class or object.
Syntax
Section titled “Syntax”s = methods(object)s = methods(classname)s = methods(..., '-full')Description
Section titled “Description”Returns a cell array of method names defined for the class. Pass an object or a class-name string. With '-full', includes inherited methods and method signatures.
Example
Section titled “Example”methods('MException') % {'addCause', 'throw', ...}See also
Section titled “See also”class— Class name of an object.properties— List the properties of a class or object.events— List the events declared by a class.