Main Content

.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.dotNETAssemblyCreate .NET assembly for deployment outside MATLAB (R2021a 이후)
compiler.build.DotNETAssemblyOptionsOptions for building .NET assemblies (R2021a 이후)
compiler.build.ResultsCompiler build results object (R2020b 이후)
compiler.package.installerCreate an installer for files generated by MATLAB Compiler (R2020a 이후)
compiler.package.InstallerOptionsOptions for creating MATLAB Compiler package installers (R2020a 이후)

클래스

모두 확장

MathWorks.MATLAB.Runtime.MATLABRuntime.NET class that represents a MATLAB Runtime instance (R2022b 이후)
MathWorks.MATLAB.Runtime.NojvmAttribute.NET attribute class that launches MATLAB Runtime without Java Virtual Machine (JVM) support (R2022b 이후)
MathWorks.MATLAB.Runtime.OutOfProcessAttribute.NET attribute class to start a separate process to run a .NET assembly (R2022b 이후)
MathWorks.MATLAB.Runtime.RuntimeOptionAttribute.NET attribute class for specifying MATLAB Runtime options that are passed to the application at initialization time (R2022b 이후)

도움말 항목

요구 사항

생성, 연동, 퍼블리시

데이터 매핑