Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Supported and Compatible Compilers – Release 2012a

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.



Windows (32-bit)

On 32-bit Windows, the lcc C compiler is installed along with MATLAB, providing out-of-the-box support for most MathWorks products. Further options are available as outlined in this table.

MATLAB Product Family – Release 2012a

  MATLAB MATLAB Compiler MATLAB Builder EX MATLAB Builder NE MATLAB Builder JA MATLAB Coder SimBiology Fixed-Point Toolbox
Compiler For MEX-file compilation and external usage of MATLAB Engine and MAT-file APIs For C and C++ shared libraries For all features For all features For all features For all features For accelerated computation For accelerated computation
lcc-win32 v2.4.1
Included with MATLAB
     
Microsoft Windows SDK 7.1
Available at no charge; requires .NET Framework 4.0
√ 4  
Microsoft Visual C++ 2010 Professional √ 4  
Microsoft Visual C++ 2008 Professional SP1 √ 4  
Intel C++ Composer XE 2011 3              
Open Watcom C/C++ v1.8 2
Available at no charge
       
Intel Visual Fortran Composer XE 2011 3              
Microsoft .NET Framework SDK 2.0, 3.0, 3.5
Available at no charge
      √ 4, 5        
Java Development Kit (JDK) 1.6
Available at no charge
             


Simulink Product Family – Release 2012a

  Simulink Simulink Simulink Stateflow Simulink Coder Embedded Coder xPC Target Simulink Code Inspector
Compiler For S-Function compilation For model referencing, Accelerator mode, and MATLAB Function blocks For Rapid Accelerator mode For all features For all features When targeting the host OS For all features For all features
Lcc-win32 v2.4.1
Included with MATLAB
 
Microsoft Windows SDK 7.1
Available at no charge; requires .NET Framework 4.0
√ 8 √ 8
Microsoft Visual C++ 2010 Professional
Microsoft Visual C++ 2008 Professional SP1
Intel C++ Composer XE 2011 3            
Open Watcom v1.8 2
Available at no charge
   
Intel Visual Fortran Composer XE 2011 3 √ 6           √ 7  

Notes for the Windows (32-bit) Platform

  1. Support for this version 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. Support for C++ exception handling is limited. You can find more information in Solution 1-4OKNSV.
  3. Intel compilers depend on tools provided by Microsoft. The following combinations are supported:

    Microsoft
    Visual Studio 2010
    Professional (32-bit)
    Microsoft
    Windows SDK 7.1
    Microsoft
    Visual Studio 2008 SP1
    Professional Edition (32-bit)
    Microsoft
    Visual Studio 2008
    Shell
    (32-bit)
    Intel C++ Composer XE 2011  
    Intel Visual Fortran Composer XE 2011
  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 Builder NE supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
  6. 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.
  7. xPC Target supports Fortran code in Simulink models using C-MEX wrapper S-Functions.
  8. .sln project generation is not supported when using the Microsoft Windows SDK.