MATLAB의 .NET 메서드
다음 항목에서는 .NET 메서드 호출과 관련된 정보를 설명합니다. MATLAB에서 객체에 대한 메서드를 호출하는 방법에 대한 일반적인 정보는 메서드 구문 항목을 참조하십시오.
도움말 항목
- Calling .NET Methods
Use the following MATLAB functions to view the methods of a class.
- Work with .NET Methods Having Multiple Signatures
This example shows how to call a method that has multiple signatures.
- out 키워드를 갖는 .NET 메서드 호출하기
이 예제에서는 인수 목록에
out
키워드를 사용하는 메서드를 호출하는 방법을 보여줍니다. - ref 키워드를 갖는 .NET 메서드 호출하기
이 예제에서는 인수 목록에
ref
키워드를 사용하는 메서드를 호출하는 방법을 보여줍니다. - params 키워드를 갖는 .NET 메서드 호출하기
이 예제에서는 인수 목록에
params
키워드를 사용하는 메서드를 호출하는 방법을 보여줍니다. - Call .NET Methods with Optional Arguments
This example shows how to use default values in optional arguments using the
Greeting
method. - Call .NET Properties That Take an Argument
MATLAB represents a property that takes an argument as a method.
- Calling .NET Methods with Optional Arguments
MATLAB displays optional arguments in a method signature using the
optional<T>
syntax, whereT
is the specific type. - Calling .NET Extension Methods
Unlike C# applications, MATLAB handles an extension method as a static method of the class that defines the method.
- How MATLAB Represents .NET Operators
MATLAB supports overloaded operators, such as the C# operator symbols
+
and*
, as shown in this table. - Limitations to Support of .NET Methods
.NET features not supported in MATLAB.