This topic describes information specific to .NET methods. For general information about calling methods on objects in MATLAB®, see Calling Object Methods.
Use the following MATLAB functions to view the methods of a class. You can use these functions without creating an instance of the class. These functions do not list generic methods; use your product documentation to get information on generic methods.
View method names
— View method names with argument list
Graphical representation of method list
You might find the
methodsview window easier
to use as a reference guide because you do not need to scroll through
the Command Window to find information. For example, open a
MATLAB maps C# keywords to MATLAB method access attributes, as shown in the following table.
|C# Method Keyword||MATLAB Attribute|
|Array of particular type|
|Not visible to MATLAB|
MATLAB maps VB.NET keywords to MATLAB method access attributes, as shown in the following table.
|VB.NET Method Keyword||MATLAB Attribute|
MATLAB uses the following rules to populate method signatures.
obj is the output from the constructor.
this is the object argument.
RetVal is the return type of a
All other arguments use the .NET metadata.
MATLAB uses the following rules to select a method signature.
Number of inputs
Number of outputs