This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Method syntax, attributes, and purpose

Methods are the operations defined by a class. Methods can overload MATLAB® functions to perform the operations on objects of the class. MATLAB determines which method or function to call based on the dominant argument. Class constructor methods create objects of the class and must follow specific rules.


methods Class method names
ismethod Determine if method of object


meta.method Describe method of MATLAB class
Was this topic helpful?