.NET용 MATLAB Data API를 사용하여 .NET 애플리케이션에 배포하기
데이터 교환용 MATLAB® Data API를 사용하여, 패키징된 MATLAB 함수를 .NET 애플리케이션에 연동
.NET용 MATLAB Compiler SDK™ API는 .NET 애플리케이션과 해당 애플리케이션 내에 배포된 MATLAB 코드 간의 인터페이스를 제공합니다. 이 API를 통해 .NET 애플리케이션은 MATLAB Runtime 인스턴스를 시작하고 인수를 사용해 배포된 MATLAB 함수를 실행할 수 있습니다. 이 API는 MATLAB 라이브러리 호출을 위한 비동기식 작업 실행을 지원하며, 간소화된 애플리케이션 코드 작성을 위해 최신 .NET 구문을 활용합니다.
.NET용 MATLAB Compiler SDK API는 .NET용 MATLAB Data API를 사용하여 .NET 애플리케이션과 배포된 MATLAB 코드 간의 데이터 교환을 처리합니다. 자세한 내용은 .NET에서 MATLAB 호출하기 항목을 참조하십시오.
.NET용 MATLAB Compiler SDK API와 .NET용 MATLAB Data API를 사용하여 만든 모든 .NET 애플리케이션은 Windows®, Linux®, macOS 플랫폼에서 개발하고 퍼블리시할 수 있습니다. 즉, 이러한 플랫폼 중 하나에서 개발하여 다른 두 플랫폼 중 어디에나 퍼블리시하는 것이 가능합니다. (R2023a 이후)
함수
compiler.build.dotNETAssembly | Create .NET assembly for deployment outside MATLAB (R2021a 이후) |
compiler.build.DotNETAssemblyOptions | Options for building .NET assemblies (R2021a 이후) |
compiler.build.Results | Compiler build results object (R2020b 이후) |
compiler.package.installer | Create an installer for files generated by MATLAB Compiler (R2020a 이후) |
compiler.package.InstallerOptions | Options for creating MATLAB Compiler package installers (R2020a 이후) |
클래스
도움말 항목
요구 사항
- MATLAB Compiler SDK .NET Target Requirements
Refer to the software requirements for using MATLAB Compiler SDK to create .NET assemblies. - Setting Up .NET Development Environment
Set up development environment to develop .NET applications containing deployed MATLAB code. - Choosing .NET Deployment Option
Explore .NET deployment options that MATLAB Compiler SDK offers and select the right one for your specific .NET integration needs. - Summary of MATLAB Compiler SDK .NET APIs
Explore the various MATLAB Compiler SDK .NET APIs.
생성, 연동, 퍼블리시
- Deploy MATLAB Function to .NET Application Using MATLAB Data API for .NET
Learn how to package and deploy a MATLAB function to a .NET application written in C#. - Deploy MATLAB Classes to .NET Application Using MATLAB Data API for .NET
Learn how to package and deploy MATLAB classes to a .NET application written in C#. - Deploy MATLAB Class that Inherits from MATLAB Handle Class
Learn how to package and deploy a MATLAB class that inherits from the MATLAB handle class to a .NET application written in C#. - Deploy MATLAB Function that Accepts Cell Array as Input Argument to .NET Application
Learn how to package and deploy a MATLAB function accepting a cell array as input into a .NET application written in C#. - Deploy MATLAB Function that Accepts Struct Array as Input Argument to .NET Application
Learn how to package and deploy a MATLAB function accepting a struct array as input into a .NET application written in C#. - Create Sample Code to Call Exported Function
Generate sample code in C++, .NET, Java®, or Python® by including sample files during packaging. - Code Archive, C# Wrapper Files, and .NET Assembly File Placement
Explore options for positioning the code archive (.ctf
file), C# wrapper files, and assembly files in an accessible location prior to building and running .NET executable.
데이터 매핑
- 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. - Data Type Mappings Between .NET and Strongly Typed MATLAB Code
Map .NET and MATLAB data types when using strongly typed MATLAB code. - Mapping MATLAB Classes and Functions to C#
Learn how MATLAB classes and function map to a C# code files when deployed using the MATLAB Data API for .NET.