.NET에서 MATLAB 호출하기
MATLAB®과 호환되는 .NET 프로그램 작성
.NET용 MATLAB Engine API는 .NET 프로그래밍 언어와 MATLAB 간 인터페이스를 제공합니다. 이 API에서 프로그램은 MATLAB을 시작하고, 인수와 함께 MATLAB 함수를 실행하며, MATLAB과 .NET 프로그램 간에 데이터를 교환할 수 있습니다.
대신 MATLAB에서 직접 .NET 라이브러리에 액세스하려면 MATLAB에서 .NET 호출하기 항목을 참조하십시오.
Microsoft® COM(Component Object Model)과 호환되는, MATLAB R2022a 이하 버전에 맞춰 생성된 기존 .NET 프로그램을 유지해야 하는 경우 MATLAB과 호환되는 COM 애플리케이션 작성하기 항목을 참조하십시오.
함수
클래스
도움말 항목
엔진 애플리케이션을 설정하고 빌드하기
- .NET 엔진 프로그램의 요소
.NET용 MATLAB Engine API를 시작합니다.
.NET 애플리케이션에서 MATLAB 시작하기
- .NET에서 MATLAB 세션 시작하기
.NET 엔진 세션을 동기식 또는 비동기식으로 시작하고 시작 옵션을 MATLAB에 전달합니다. - Connect .NET Application to Running MATLAB Session
Connect the .NET engine to a running MATLAB session that has been started as or converted to a shared session.
데이터 매핑
- Pass .NET Data Types to MATLAB Functions
Convert .NET data to MATLAB data. - Handle MATLAB Data in .NET Applications
Convert MATLAB data to .NET data. - Strongly Typed Interface for C#
A strongly typed interface enforces a strict data type mapping between MATLAB and C# to use in .NET applications.
.NET에서 MATLAB 함수 호출하기
- .NET에서 MATLAB 함수 실행하기
변수를 MATLAB 함수 호출에 전달하고 값을 .NET 애플리케이션에 반환합니다. - Use MATLAB Structures in .NET
Define MATLAB structure data types in .NET using theMathWorks.MATLAB.Types.MATLABStruct
class. - Use MATLAB Dictionary Objects in .NET
These examples show how to pass dictionary variables to MATLAB function calls and return dictionary values to .NET applications. - Use MATLAB Handle Classes in C#
Integrate MATLAB handle classes with C# applications.
문제 해결
MathWorks.MATLAB.Exceptions Exception Classes for .NET
The MathWorks.MATLAB.Exceptions
namespace contains the
exception classes for the .NET engine.