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.



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 in the Mac App Store.

MATLAB Product Family – Release 2012a

  MATLAB MATLAB Compiler MATLAB Builder JA MATLAB Coder SimBiology Fixed-Point Toolbox
Compiler For MEX-file compilation, loadlibrary, and external usage of MATLAB Engine and MAT-file APIs For C and C++ shared libraries For all features For all features For accelerated computation For accelerated computation
Apple Xcode 4.6, 4.5, 4.4 or 4.3
Patch required; see Solution 1-FR6LXJ
√ 1 √ 1   √ 1 √ 1 √ 1
Apple Xcode 4.1
For use with Mac OS X 10.7 (Lion)
 
Apple Xcode 4.0
For use with Mac OS X 10.6 (Snow Leopard)
 
GNU gfortran 4.3.x
Available at no charge
         
Java Development Kit (JDK) 1.6
Available at no charge
         

Simulink Product Family – Release 2012a

  Simulink Simulink  Stateflow Simulink Coder Embedded Coder
Compiler 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
Apple Xcode 4.6, 4.5, 4.4 or 4.3
Patch required; see Solution 1-FR6LXJ
√ 1 √ 1 √ 1 √ 1 √ 1
Apple Xcode 4.1
For use with Mac OS X 10.7 (Lion)
Apple Xcode 4.0
For use with Mac OS X 10.6 (Snow Leopard)
GNU gfortran 4.3.x
Available at no charge
√ 2        

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

Notes for the Mac Platform

  1. A patch is require to add support for Xcode 4.6, 4.5, 4.4 and 4.3. See Solution 1-FR6LXJ for the patch and installation instructions.
  2. 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