MATLAB and Simulink Requirements

MATLAB Interfaces to Other Languages

MATLAB®, MATLAB Production Server, and its add-on products are compatible with the following versions of other programming languages.  For more information, see Using MATLAB with Other Languages.

Java

Version Call MATLAB From Java (Engine API) Call Java from MATLAB MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
Oracle Java 8
OpenJDK 8
OpenJDK 11

Python

For information about which versions of Python are compatible with previous releases of MATLAB, see Versions of Python Compatible With MATLAB Products by Release.

Version Call MATLAB From Python (Engine API) Call Python from MATLAB MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
Python 3.9
Python 3.10


Python 3.11


C/C++

Version Call MATLAB From C/C++ (Engine API) Call C/C++ from MATLAB MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
C - All versions prior to 11
C Version 11    
C Version 17    
C++ - All versions prior to 11
C++ Version 11
C++ Version 14
C++ Version 17

.NET

Language Call MATLAB From .NET (Engine API) Call .NET from MATLAB MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
.NET Framework 4.6.2 or higher
.NET 6.0 or higher  

Other

Language Call MATLAB From Other Language (Engine API) Call Other Language from MATLAB MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
Fortran - All versions    
.COM components and apps - all versions  
HTTP 1.1    
Perl 5.32.1