Accelerating the pace of engineering and science

Supported and Compatible Compilers for R2016a

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' Web sites for further information.

Note:

  • Microsoft Visual C++ 2008 is not supported as of R2016a
  • Intel C++ Composer XE 2011 is not supported as of R2016a
  • Intel Visual Fortran Composer XE 2011 is not supported as of R2016a
  • Support for Intel Parallel Studio XE 2016 was added in R2016a
  • Support for Intel Parallel Studio XE 2015 was added in R2016a
  • Microsoft Visual C++ 2010 Professional SP1 support will be dropped in a future release
  • Microsoft Windows SDK 7.1 support will be dropped in a future release

Windows (64-bit)

MATLAB Product Family – Release 2016a

Compiler MATLAB MATLAB Compiler MATLAB Compiler SDK MATLAB Coder SimBiology Fixed-Point Designer
For MEX-file compilation, loadlibrary, and external usage of MATLAB Engine and MAT-file APIs Excel add-in for desktop C/C++ & COM .NET Java Excel add-in for MPS For all features For accelerated computation For accelerated computation
MinGW 4.9.2 C/C++ (Distributor: TDM-GCC) Available at no charge Check           Check 6 Check Check
Microsoft Visual C++ 2015 Professional Check Check Check Check 4     Check Check Check
Microsoft Visual C++ 2013 Professional Check Check Check Check 4     Check Check Check
Microsoft Visual C++ 2012 Professional Check Check Check Check 4     Check Check Check
Microsoft Visual C++ 2010 Professional SP1 Check Check Check Check 4     Check Check Check
Microsoft Windows SDK 7.1 2 Available at no charge; requires .NET Framework 4.0 Check Check Check       Check 6 Check Check
Intel Parallel Studio XE 2016 for C/C++ 3 Check                
Intel Parallel Studio XE 2015 for C/C++ 3 Check                
Intel C++ Composer XE 2013 3 Check                
Intel Parallel Studio XE 2016 for Fortran 3 Check                
Intel Parallel Studio XE 2015 for Fortran 3 Check                
Intel Visual Fortran Composer XE 2013 3 Check                
Microsoft .NET Framework SDK 2.0, 3.0, 3.5, 4.0, 4.5
Available at no charge
Check     Check 45   Check 10      
Java Development Kit (JDK) 1.7
Available at no charge
        Check        
lcc-win64
Included with products that support it
            Check 6 Check Check

Simulink Product Family – Release 2016a

Compiler Simulink Simulink Stateflow Simulink Coder Embedded Coder Simulink Real-Time HDL Verifier HDL Coder
For S-Function compilation For Model Referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks For all features For all features When targeting the host OS For all features For DPI and TLM component generation For accelerated testbench simulation
MinGW 4.9.2 C/C++ (Distributor: TDM-GCC) Available at no charge Check Check Check Check Check   Check Check
Microsoft Visual C++ 2015 Professional Check Check Check Check Check     Check
Microsoft Visual C++ 2013 Professional Check Check Check Check Check Check Check Check
Microsoft Visual C++ 2012 Professional Check Check Check Check Check Check Check Check
Microsoft Visual C++ 2010 Professional SP1 Check Check Check Check Check Check Check Check
Microsoft Windows SDK 7.1 2 Available at no charge; requires .NET Framework 4.0 Check Check Check Check 7 Check 7 Check Check Check
Intel Parallel Studio XE 2016 for C/C++ 3 Check              
Intel Parallel Studio XE 2015 for C/C++ 3 Check              
Intel C++ Composer XE 2013 3 Check              
Intel Parallel Studio XE 2016 for Fortran 3 Check 8              
Intel Parallel Studio XE 2015 for Fortran 3 Check 8              
Intel Visual Fortran Composer XE 2013 3 Check 8         Check 9    
lcc-win64
Included with products that support it
  Check Check Check Check     Check

Notes for the Windows (64-bit) Platform

  1. Support for some versions of this compiler will be discontinued in a future release, at which time a new version will be supported. Consult the platform road map for more information.
  2. Microsoft Windows SDK 7.1 may not be compatible with Windows 8 or Windows 10
  3. Intel compilers depend on tools provided by Microsoft. The following combinations are supported:

      Microsoft Windows SDK 7.1 Microsoft Visual Studio 2015 Professional (64-bit) Microsoft Visual Studio 2013 Professional (64-bit) Microsoft Visual Studio 2012 Professional (64-bit) Microsoft Visual Studio 2010 Professional SP1 (64-bit)
    Intel Parallel Studio XE 2016 For C/C++ Check Check Check Check Check
    Intel Parallel Studio XE 2015 For C/C++ Check Check Check Check Check
    Intel Parallel Studio XE 2016 For Fortran Check Check Check Check Check
    Intel Parallel Studio XE 2015 For Fortran Check Check Check Check Check
    Intel C++ Composer XE 2013 Check   Check Check Check
    Intel Visual Fortran Composer XE 2013 Check   Check Check Check
  4. To build .NET components, a Microsoft .NET Framework must be installed. The .NET Framework v3.0 does not contain a framework-specific compiler; compatible components can be built using the v2.0 compiler. The .NET Framework is automatically installed by Visual Studio. It can also be downloaded from the Microsoft Web site. To execute applications that use the resulting .NET components, the target machine must have the matching .NET Framework installed.
  5. MATLAB Compiler SDK supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
  6. This compiler does not support OpenMP. Code generation will treat parfor-loops as for-loops.
  7. .sln project generation is not supported when using the Microsoft Windows SDK.
  8. Fortran compilers are supported with Simulink only for creating Simulink S-Functions using the MATLAB MEX command. The S-Functions can be used with normal and accelerated simulations.
  9. Simulink Real-Time supports Fortran code in Simulink models using C-MEX wrapper S-Functions.
  10. When building Excel add-ins for MPS, MATLAB Compiler SDK requires .NET framework 4.0 or later.