- `methods (OBJ)`
- `methods ("CLASSNAME")`
- `MTDS = methods (...)`

List the public methods for the object `OBJ` or for the named class
`CLASSNAME`.

When called with no output argument, display the method names. Otherwise,
return the names in a cell array of strings.

See also: `fieldnames`, `properties`, `ismethod`.

### References

- https://www.mathworks.com/help/matlab/ref/methods.html
- https://octave.sourceforge.io/octave/function/methods.html
