methodsview - View class methods - MATLAB (original) (raw)
Main Content
Syntax
Description
methodsview([classname](#mw%5Fc0cd610f-6424-4e52-8d57-8b230766536d))
displays information about the methods in the class classname
. Ifclassname
is a MATLAB® or Java® class, methodsview
lists only public methods, including those methods inherited from superclasses.
methodsview
creates a window that displays the methods and information such as arguments, returned values, and superclasses. It also includes method qualifiers (for example, abstract
or synchronized
) and possible exceptions thrown.
methodsview([object](#mw%5F8aea5642-646e-4a08-8b62-ff92624298d7))
displays information for the class of object
.
Examples
List information on all methods in thejava.awt.MenuItem
class. MATLAB displays this information in a new window.
methodsview('java.awt.MenuItem')
Input Arguments
Class name, specified as a string scalar or a character vector.
Object name, specified as a string scalar or a character vector.
Version History
Introduced before R2006a