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

 

Supported and Compatible Compilers – Release 2010b

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.



Mac OS X

On the Mac, no C compiler is supplied with MATLAB. If you use products that require one, Apple's development environment for OS X (Xcode) is available from Apple at no cost.

MATLAB Product Family – Release 2010b

    MATLAB MATLAB MATLAB Compiler MATLAB Builder JA SimBiology Fixed-Point Toolbox
Compiler Version For MEX-file compilation and external usage of MATLAB Engine and MAT-file APIs For loadlibrary For C and C++ shared libraries For all features For accelerated computation For accelerated computation
Apple Xcode with gcc/g++
Available at no charge
3.2 1  
3.1 2  
GNU gfortran
Available at no charge
4.3.0          
Sun Java Development Kit (JDK)
Available at no charge
1.6          

Simulink Product Family – Release 2010b

    Simulink Simulink  Stateflow Stateflow Coder Real-Time
Workshop 
Real-Time Workshop Embedded Coder
Compiler Version For all features 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
Apple Xcode with gcc/g++
Available at no charge
3.2 1
3.1 2
GNU gfortran
Available at no charge
4.3.0 √ 3          

To determine the version of your compiler, see Solution 1-1880F.

Notes for the Mac Platform

  1. For Mac OS X 10.6 (Snow Leopard). The gcc/g++ development tools version 4.0.1 (Apple Computer, Inc. build 5493) are required. These are installed with Xcode.
  2. For Mac OS X 10.5 (Leopard). The gcc/g++ development tools version 4.0.1 (Apple Computer, Inc. build 5488) are required. These are installed with Xcode.
  3. 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.

Contact Us

Call MathWorks: 508-647-7000