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

 

Supported and Compatible Compilers – Release 2010a

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 2010a

    MATLAB MATLAB Compiler MATLAB Builder EX MATLAB Builder NE MATLAB Builder JA SimBiology Fixed-Point Toolbox
Compiler Version For MEX-file compilation and external usage of MATLAB Engine and MAT-file APIs For all features For all features For all features For all features For accelerated computation For accelerated computation
Lcc - win32
Included with MATLAB
2.4.1      
Microsoft Visual C++ 2010 1
Available at no charge
10.0
Express
           
Microsoft Visual C++ 2010 1
10.0
Prof.
           
Microsoft Visual C++ 2008 2
Available at no charge
9.0
Express Edition
√ 3  
Microsoft Visual C++ 2008 SP1 9.0
Prof. Edition
√ 3  
Microsoft Visual C++ 2005 SP1 8.0
Prof. Edition
√ 3  
Microsoft Visual C/C++ 4 6.0
Prof. Edition
√ 3  
Intel C++ 5 11.1            
9.1 6            
Open Watcom 47
Available at no charge
1.8        
Intel Visual Fortran 5 11.1            
10.1 6            
Microsoft .NET Framework SDK
Available at no charge
3.5       √ 38      
3.0       √ 38      
2.0       √ 38      
Sun Java Development Kit (JDK)
Available at no charge
1.5            


Simulink Product Family – Release 2010a

    Simulink Simulink  Simulink Stateflow Stateflow Coder Real-Time Workshop  Real-Time Workshop Embedded Coder xPC Target
Compiler Version For S-function compilation For model referencing, Accelerator mode, and Embedded MATLAB For Rapid Accelerator mode For all features For all features When targeting the host OS When targeting the host OS For all features
Lcc - win32
Included with MATLAB
2.4.1  
Microsoft Visual C++ 2008 2
Available at no charge
9.0
Express
Edition
Microsoft Visual C++ 2008 SP1 9.0
Prof.
Edition
Microsoft Visual C++ 2005 SP1 8.0
Prof.
Edition
Microsoft Visual C/C++ 4 6.0
Prof.
Edition
Intel C++ 5 11.1              
9.1 6              
Open Watcom 47
Available at no charge
1.8  
Intel Visual Fortran 5 11.1 √ 9             √ 10
10.1 6 √ 9              

Notes for the Windows (32-bit) Platform

  1. Visual C++ 2010 support requires a patch to R2010a. See Solution 1-D5W493 for MEX support files.
  2. Microsoft Visual Studio Express Edition, when used with these products, also requires the Microsoft Windows Software Development Kit (SDK). For more information on installing Express Edition, see Solution 1-BYZCYZ.
  3. 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 2005 or 2008. 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.
  4. When using C++, MATLAB and related products rely on the availability of exception handling in the C++ language. Because these compilers do not properly support C++ exception handling, our support for exception handling is limited. You can find more information in Solution 1-4OKNSV.
  5. Intel compilers depend on tools provided by Microsoft development products. The following combinations are supported by MATLAB and Simulink related products:

    Intel Compilers
    on Microsoft Windows
     
    Microsoft
    Visual Studio 2008 SP1
    Professional Edition
    (32-bit)
    Microsoft
    Visual Studio 2008 Shell

    (32-bit)
    Microsoft
    Visual Studio 2005 SP1
    Professional Edition
    (32-bit)
    Compiler Version 9.0 9.0 8.0
    Intel C++ 11.1    
    9.1    
    Intel Visual Fortran 11.1  
    10.1    
    Access to the 2005 SP1 edition is available from Microsoft as part of their Visual Studio with MSDN subscriptions. You should use the Microsoft Visual Studio 2008 Shell that is bundled with certain Intel Visual Fortran packages.
  6. Support for this version of this compiler will be discontinued in a future release, at which time a new version will be supported.
  7. Open Watcom is supported for use in C/C++ only; Open Watcom Fortran is not supported.
  8. MATLAB Builder NE supports building .NET Assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
  9. 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.
  10. xPC Target supports Fortran code in Simulink models using C-MEX wrapper S-functions.

Contact Us

Call MathWorks: 508-647-7000