MATLAB and Simulink Requirements

Product Requirements for MATLAB R2019a

View requirements for another product:

Supported Compilers

A number of MathWorks products or product features require that you have a third-party compiler installed on your system. The tables below outline the compilers that are supported by various MathWorks products. These compilers are provided by a number of vendors and are available under a variety of commercial, academic, or open source terms; visit the providers' websites for further information.

Please see Polyspace documentation for the list of compilers that Polyspace supports in the current release.

System and Product Requirements for Previous Releases

Supported Windows Compilers for MATLAB

Note:

  • Intel Parallel Studio XE 2019 for C/C++ and Fortran are supported as of R2019a.
  • Support for Intel Parallel Studio XE 2015 for C/C++ and Fortran will be discontinued in a future release.

For MEX-file compilation, loadlibrary, and external usage of MATLAB Engine and MAT-file APIs

  • Microsoft Visual C++ 2017 Family1
  • Microsoft Visual C++ 2015 Professional2
  • Intel Parallel Studio XE 2019 for C/C++3
  • Intel Parallel Studio XE 2018 for C/C++3
  • Intel Parallel Studio XE 2017 for C/C++3
  • Intel Parallel Studio XE 2016 for C/C++3
  • Intel Parallel Studio XE 2015 for C/C++3
  • Intel Parallel Studio XE 2019 for Fortran3
  • Intel Parallel Studio XE 2018 for Fortran3
  • Intel Parallel Studio XE 2017 for Fortran3
  • Intel Parallel Studio XE 2016 for Fortran3
  • Intel Parallel Studio XE 2015 for Fortran3
  • Microsoft .NET Framework SDK 4.0, 4.5, 4.6
  • lcc-win64 (Included with products that support it)

Notes for the Windows Platform

  1. Community, Professional, and Enterprise editions are supported. The Visual Studio installer groups functionality into workloads; MATLAB requires the “Desktop development with C++" workload.

  2. A compiler is not installed by default with this version of Visual Studio and must be specified while performing a custom installation. See Answer 328432 for more details.

  3. Intel compilers require that Microsoft Visual Studio 2015 or 2017 also be installed on your system.

Supported macOS Compilers for MATLAB

On the Mac, no C compiler is supplied with MATLAB. If you use products that require one, Apple's development environment for macOS (Xcode) is available in the Mac App Store.

Note:

  • Xcode 8.x is not supported as of R2019a.

For MEX-file compilation, loadlibrary, and external usage of MATLAB Engine and MAT-file APIs

  • Xcode 10.x
  • Xcode 9.x
  • Intel Parallel Studio XE 2019 for Fortran
  • Intel Parallel Studio XE 2018 for Fortran
  • Intel Parallel Studio XE 2017 for Fortran
  • Intel Parallel Studio XE 2016 for Fortran

To determine the version of Xcode installed, start Xcode and then select Xcode->About Xcode.

Supported Linux (64-bit) Compilers for MATLAB

On Linux, no C compiler is supplied with MATLAB. The GNU compiler (GCC) is included with many Linux distributions.

For MEX-file compilation, loadlibrary, and external usage of MATLAB Engine and MAT-file APIs

  • GCC C/C++ 6.3.x
  • GNU gfortran 6.3.x

To determine the version of your compiler, see Answer 99897.

MATLAB Supported Interfaces to Other Languages

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

Language Engine API                 Matlab Supported Interfaces to Other Languages MATLAB Compiler and MATLAB Compiler SDK MATLAB Production Server 
  Calling MATLAB from another language Calling other languages or system components from MATLAB
   
C - All versions prior to 11
C - Version 11    
C++ - All versions prior to 11
 
C++ - Version 11  
C++ - Version 14  
Fortran - All versions    
Python 2.7
Python 3.5  
Python 3.6



 
.COM components and apps - all versions      
Java 8
.NET CLR version 2.0      
.NET CLR version 4.0   
HTTP 1.1    
Perl 5.26.1