Supported Compilers – Release 2011b
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.
Choose your platform:
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 2011b
MATLAB | MATLAB Compiler | MATLAB Builder EX | MATLAB Builder NE | MATLAB Builder JA | MATLAB Coder | SimBiology | Fixed-Point Toolbox | |
---|---|---|---|---|---|---|---|---|
Compiler | For MEX-file compilation and external usage of MATLAB Engine and MAT-file APIs | For C and C++ shared libraries | For all features | For all features | For all features | For all features | For accelerated computation | For accelerated computation |
lcc-win32 v2.4.1 Included with MATLAB | √ | √ | √ | √ | √ | |||
Microsoft Windows SDK 7.1 Available at no charge; requires .NET Framework 4.0 | √ | √ | √ | √ 4 | √ | √ | √ | |
Microsoft Visual C++ 2010 Express 1 Available at no charge | √ | √ | √ | √ 4 | √ | √ | √ | |
Microsoft Visual C++ 2010 Professional | √ | √ | √ | √ 4 | √ | √ | √ | |
Microsoft Visual C++ 2008 Professional SP1 | √ | √ | √ | √ 4 | √ | √ | √ | |
Microsoft Visual C++ 6.0 1, 2 | √ | √ | √ | √ 4 | √ | √ | √ | |
Intel C++ Composer XE 2011 3 | √ | |||||||
Intel C++ Compiler 11.1 1, 3 | √ | |||||||
Open Watcom C/C++v1.8 2 Available at no charge | √ | √ | √ | √ | ||||
Intel Visual Fortran Composer XE 2011 3 | √ | |||||||
Intel Visual Fortran 11.1 1, 3 | √ | |||||||
Microsoft .NET Framework SDK 2.0, 3.0, 3.5 Available at no charge | √ 4, 5 | |||||||
Java Development Kit (JDK) 1.6 Available at no charge | √ |
Simulink Product Family – Release 2011b
Simulink | Simulink | Simulink | Stateflow | Simulink Coder | Embedded Coder | xPC Target | Simulink Code Inspector | |
---|---|---|---|---|---|---|---|---|
Compiler | For S-Function compilation | For model referencing, Accelerator mode, and MATLAB Function blocks | For Rapid Accelerator mode | For all features | For all features | When targeting the host OS | For all features | For all features |
Lcc-win32 v2.4.1 Included with MATLAB | √ | √ | √ | √ | √ | √ | √ | |
Microsoft Windows SDK 7.1 Available at no charge; requires .NET Framework 4.0 | √ | √ | √ | √ | √ | √ | √ | √ |
Microsoft Visual C++ 2010 Express 1 Available at no charge | √ | √ | √ | √ | √ | √ | √ | √ |
Microsoft Visual C++ 2010 Professional | √ | √ | √ | √ | √ | √ | √ | √ |
Microsoft Visual C++ 2008 Professional SP1 | √ | √ | √ | √ | √ | √ | √ | √ |
Microsoft Visual C++ 6.0 1, 2 | √ | √ | √ | √ | √ | √ | √ | √ |
Intel C++ Composer XE 2011 3 | √ | √ | ||||||
Intel C++ Compiler 11.1 1, 3 | √ | √ | ||||||
Open Watcom v1.8 2 Available at no charge | √ | √ | √ | √ | √ | √ | ||
Intel Visual Fortran Composer XE 2011 3 | √ 6 | √ 7 | ||||||
Intel Visual Fortran 11.1 1, 3 | √ 6 | √ 7 |
Notes for the Windows (32-bit) Platform
- Support for this version of this compiler will be discontinued in a future release, at which time a new version will be supported. Consult the platform road map for more information.
- Support for C++ exception handling is limited. You can find more information in Solution 1-4OKNSV.
- Intel compilers depend on tools provided by Microsoft. The following combinations are supported:
Microsoft
Visual Studio 2010
Professional (32-bit)Microsoft
Windows SDK 7.1Microsoft
Visual Studio 2008 SP1
Professional Edition (32-bit)Microsoft
Visual Studio 2008
Shell
(32-bit)Intel C++ Composer XE 2011 √ √ √ Intel C++ 11.1 √ Intel Visual Fortran Composer XE 2011 √ √ √ √ Intel Visual Fortran 11.1 √ √ - 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. 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.
- MATLAB Builder NE supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
- 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.
- xPC Target supports Fortran code in Simulink models using C-MEX wrapper S-Functions.