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 (64-bit)

On 64-bit Windows, no C compiler is supplied with MATLAB. If you use products that require one, choose one of the supported options outlined below.

MATLAB Product Family – Release 2010a

    MATLAB MATLAB1 MATLAB
Compiler
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 shared library interface For all features For all features For all features For accelerated computation For accelerated computation
Microsoft Visual C++ 2010 2
Available at no charge
10.0
Express
           
Microsoft Visual C++ 2010 2
10.0
Prof.
           
Microsoft Visual C++ 2008 3
Available at no charge
9.0
Express Edition
  √ 4  
Microsoft Visual C++ 2008 SP1 3 9.0
Prof. Edition
√ 4  
Microsoft Visual C++ 2005 SP1 3 8.0
Prof. Edition
√ 4  
Intel C++ 5 11.1            
9.1 6            
Intel Visual Fortran 5 11.1            
10.1 6            
Microsoft .NET Framework SDK
Available at no charge
3.5       √ 47      
3.0       √ 47      
2.0       √ 47      
Sun Java Development Kit (JDK)
Available at no charge
1.5            


Simulink Product Family – Release 2010a

    Simulink Simulink  Stateflow Stateflow Coder Real-Time Workshop  Real-Time Workshop Embedded Coder
Compiler Version For S-function compilation For Model Referencing, Accelerator mode, Rapid Accelerator mode, and Embedded MATLAB For all features For all features When targeting the host OS When targeting the host OS
Microsoft Visual C++ 2008 3
Available at no charge
9.0
Express Edition
Microsoft Visual C++ 2008 SP1 3 9.0
Prof. Edition
Microsoft Visual C++ 2005 SP1 3 8.0
Prof. Edition
Intel C++ 5 11.1          
9.1 6          
Intel Visual Fortran 5 11.1 √ 8          
10.1 6 √ 8          

Notes for the Windows (64-bit) Platform

  1. You must install a C compiler to use loadlibrary.
  2. Visual C++ 2010 support requires a patch to R2010a. See Solution 1-D5W493 for MEX support files. If using the Express version of Visual C++ 2010, Windows SDK 7.1 is also required.
  3. To use Microsoft Visual Studio with MATLAB on a 64-bit platform, you must choose "X64 Compilers and Tools" when installing Microsoft Visual Studio. This is not selected by default. Microsoft Visual Studio 2008 Express and Professional Editions also require that the Microsoft Windows Software Development Kit (SDK) is installed properly. For more information on installing Express Edition, see Solution 1-6IJJ3L.
  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 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.
  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
    (64-bit)
    Microsoft
    Visual Studio 2008 Shell

    (64-bit)
    Microsoft
    Visual Studio 2005 SP1
    Professional Edition
    (64-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. MATLAB Builder NE supports building .NET Assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
  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.