System Requirements for Using MATLAB Interface to .NET
The MATLAB® interface supports the .NET 5 Windows® desktop run time and higher, and the Microsoft® .NET Framework Version 4.0 run time and higher. The interface continues to support assemblies targeting .NET Core, and assemblies targeting Microsoft .NET Framework Version 2.0 and higher. By default, MATLAB uses the latest version of .NET found on your system. 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 run-time environment, call
To use a .NET application, refer to your vendor product documentation for information about how to install the program and for details about its functionality.
The MATLAB interface to .NET is available on the Windows platform only.
MATLAB Configuration File
MATLAB provides a configuration file which loads the latest core assemblies available on your system. You can modify and use the configuration file at your own risk.
For .NET 5, the file is
. For more information about .NET runtime configuration settings, refer to Microsoft .NET Framework documentation.
For Microsoft .NET Framework, the file is
. For more information about the configuration file schema for .NET Framework, refer to Microsoft .NET Framework documentation.