This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


View class methods


methodsview packagename.classname
methodsview classname


methodsview packagename.classname displays information about the methods in the class, classname. If the class is in a package, include packagename. If classname is a MATLAB® or Java® class, methodsview lists only public methods, including those methods inherited from superclasses.

methodsview classname displays information describing the class classname. Specify the class name as a character vector or a string scalar.

methodsview(object) displays information about the methods of the class of object.

methodsview creates a window that displays the methods defined in the specified class. methodsview provides additional information like arguments, returned values, and superclasses. It also includes method qualifiers (for example, abstract or synchronized) and possible exceptions thrown.


List information on all methods in the java.awt.MenuItem class:

methodsview java.awt.MenuItem

MATLAB displays this information in a new window.

Introduced before R2006a

Was this topic helpful?