Main Content

Call .NET from MATLAB

Directly call .NET library functionality from MATLAB®

The Microsoft® interface to .NET provides a large body of precoded solutions to common program requirements. You can create instances of .NET classes and interact with .NET applications from MATLAB.

MATLAB supports loading libraries compiled for .NET, including .NET Core, and the Microsoft .NET Framework on the Microsoft Windows® platform only. For details, see System Requirements for Using MATLAB Interface to .NET. For information about .NET versions compatible with MATLAB, see MATLAB Interfaces to Other Languages.

To determine if your system has a supported version, use the NET.isNETSupported function. To change the .NET run-time environment, call dotnetenv.

If instead you want to call MATLAB functions from .NET applications, see Call MATLAB from .NET.

Catégories

Informations connexes