Navigation

Operators and Keywords

Function List:

C++ API

: methods (obj)
: methods ("classname")
: mtds = methods (…)

List the names of the public methods for the object obj or the named class classname.

obj may be an Octave class object or a Java object. classname may be the name of an Octave class or a Java class.

When called with no output arguments, methods prints the list of method names to the screen. Otherwise, the output argument mtds contains the list in a cell array of strings.

See also: fieldnames.

Package: octave