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.

methodsview

View class methods

Syntax

methodsview(packagename.classname)
methodsview(object)

Description

example

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 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) displays information for the class of object.

Examples

collapse all

List information on all methods in the java.awt.MenuItem class. MATLAB displays this information in a new window.

methodsview('java.awt.MenuItem')

Input Arguments

collapse all

Fully qualified class name, specified as a string or a character vector.

Object name, specified as a string or a character vector.

Introduced before R2006a