MATLAB Function Reference    
methods

Display method names

Syntax

Description

n = methods('class_name') returns, in a cell array of strings, the names of all methods for the MATLAB or Java class with the name class_name.

n = methods('class_name','-full') returns, in a cell array of strings, the full description of the methods defined for the class, including inheritance information and, for Java methods, attributes and signatures. For any overloaded method, the returned array includes a description of each of its signatures. If class_name represents a MATLAB class, then inheritance information is returned only if that class has been instantiated.

Examples

To display a full description of all methods on Java object java.awt.Dimension

See Also

methodsview, help, what, which


 meshgrid methodsview