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.
|Create .NET assembly for deployment outside MATLAB|
|Options for building .NET assemblies|
|Create an installer for files generated by MATLAB Compiler|
|Options for creating MATLAB Compiler package installers|
MATLAB Compiler SDK API for .NET
|.NET class that represents a MATLAB Runtime instance|
|.NET attribute class that launches MATLAB Runtime without Java Virtual Machine (JVM) support|
|.NET attribute class to start a separate process to run a .NET assembly|
|.NET attribute class for specifying MATLAB Runtime options that are passed to the application at initialization time|
- 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#.
- 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.