Deploy to .NET Applications Using MATLAB Data API for .NET
MATLAB Compiler SDK™ API for .NET provides an interface between .NET applications and MATLAB code deployed within those applications. This API enables .NET applications to launch MATLAB Runtime instances and evaluate deployed MATLAB functions with arguments. The API supports asynchronous task execution for MATLAB library calls, and leverages modern .NET constructs for writing streamlined application code.
MATLAB Compiler SDK API for .NET uses the MATLAB Data API for .NET to handle the data exchange between a .NET application and deployed MATLAB code. For details, see Call MATLAB from .NET.
All .NET applications created using MATLAB Compiler SDK API for .NET and MATLAB Data API for .NET can be built on Windows® and executed on Linux® and macOS as long as you are using .NET 5.0 or higher.
Functions
compiler.build.dotNETAssembly | Create .NET assembly for deployment outside MATLAB |
compiler.build.DotNETAssemblyOptions | Options for building .NET assemblies |
compiler.package.installer | Create an installer for files generated by MATLAB Compiler |
compiler.package.InstallerOptions | Options for creating MATLAB Compiler package installers |
Classes
Topics
Requirements
- MATLAB Compiler SDK .NET Target Requirements
Refer to the software requirements for using MATLAB Compiler SDK to create .NET assemblies. - .NET Development Environment
Set up development environment to develop .NET applications containing deployed MATLAB code.
Create, Integrate, and Publish
- Deploy MATLAB Code Within .NET Application Using MATLAB Data API for .NET
Create a .NET component from a MATLAB function and integrate it with a .NET application written in C#.
Data Mapping
- 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.