Quantcast

Documentation Center

  • Trial Software
  • Product Updates

methodsview

View class methods

Syntax

methodsview packagename.classname
methodsview classname
methodsview(object)

Description

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.

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.

Examples

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

methodsview java.awt.MenuItem

MATLAB displays this information in a new window.

See Also

| | |

Was this topic helpful?