Product Releases

Supported and Compatible Compilers – Release 2014a

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.

Linux (64-bit)

On Linux, no C compiler is supplied with MATLAB. The GNU compiler (gcc) is included with many Linux distributions.

MATLAB Product Family – Release 2014a

Compiler MATLAB MATLAB Compiler MATLAB Builder JA MATLAB Coder SimBiology Fixed-Point Designer
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
GNU gcc/g++ 4.7.x 1
Available at no charge
Check Check   Check Check Check
GNU gfortran 4.7.x
Available at no charge
Check          
Java Development Kit (JDK) 1.7
Available at no charge
    Check      

Simulink Product Family – Release 2014a

Compiler Simulink Simulink Stateflow Simulink Coder Embedded Coder
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
GNU gcc/g++ 4.7.x 1
Available at no charge
Check Check Check Check Check
GNU gfortran 4.7.x
Available at no charge
Check 2        

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

Notes for the Linux Platform

  1. g++ libraries are required, even when compiling C-language source code. This may require installing the "gcc-g++" (or similar) package on your system.
  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.