Supported and Compatible Compilers – Release 2007b
Technical Note 1601
Choose your operating system:- Windows® (32-bit)
- Windows (64-bit)
- Linux® (32-bit and 64-bit)
- Solaris™
- Mac®
Windows (32-bit)
MATLAB® 7.5 and Related Products
| Compiler | Version | MATLAB® 7.5 |
MATLAB® Compiler™ 4.7 |
MATLAB® Builder for .NET 2.2.1 |
MATLAB® Builder for Excel® 1.2.9 |
MATLAB® Builder for Java™ 2.0 |
|---|---|---|---|---|---|---|
| Borland® C++ Builder® 1 | 6.0 2 | √ | √ | |||
| 5.0 | √ | √ | ||||
| Borland® C++ Compiler 1 (free command line tools) |
5.5 | √ | √ | |||
| Compaq® Visual Fortran 1 | 6.6 | √ | ||||
| 6.1 | √ | |||||
| Intel® C++ 3 | 9.1 | √ | ||||
| 7.1 1 | √ | |||||
| Intel® Visual Fortran 3 | 9.1 | √ | ||||
| 9.0 1, 4 | √ | |||||
| Lcc - win32 | 2.4.1 | √ | √ | |||
| Microsoft® .NET Framework SDK | 2.0 | √ 5, 6 | ||||
| 1.1 | √ 5, 6 | |||||
| Microsoft® Visual C++® 7 | 6.0 Prof. Edition |
√ | √ | √ 6 | √ | |
| Microsoft® Visual C++® 2005 9 | 8.0 Express Edition |
√ | √ | √ | ||
| Microsoft® Visual C++® 2005 SP1 | 8.0 Prof. Edition |
√ | √ | √ 6 | √ | |
| Microsoft® Visual C++® .NET 2003 4 | 7.1 Prof. Edition |
√ | √ | √ 6 | √ | |
| Open Watcom 1, 7, 8 | 1.3 | √ | ||||
| Sun™ Java™ Development Kit (JDK) | 1.5 | √ |
Simulink®7.0 and Related Products
| Compiler | Version | Simulink® 7.0 S-Functions |
Simulink 7.0 (Model Reference) |
Simulink 7.0 (Accelerator Mode) |
Simulink 7.0 (Rapid Accelerator Mode) |
Stateflow® 7.0 | Real-Time Workshop® 7.0 10 | xPC Target™ 3.3 |
|---|---|---|---|---|---|---|---|---|
| Borland® C++ Builder® 1 | 6.0 2 | √ | √ | √ | √ | |||
| 5.0 | √ | √ | √ | √ | ||||
| Borland® C++ Compiler 1 (free command line tools) |
5.5 | √ | √ | √ | √ | |||
| Compaq® Visual Fortran 1 | 6.6 | √ 11 | ||||||
| 6.1 | √ 11 | |||||||
| Intel® C++ 3 | 9.1 | √ | ||||||
| 7.1 1 | √ | √ | √ | |||||
| Intel® Visual Fortran 3 | 9.1 | √ 11 | ||||||
| 9.0 1, 4 | √ 11 | |||||||
| Lcc - win32 | 2.4.1 | √ | √ | √ | √ | √ | √ | |
| Microsoft® Visual C++® 7 | 6.0 Prof. Edition |
√ | √ | √ | √ | √ | √ | √ |
| Microsoft® Visual C++® 2005 9 | 8.0 Express Edition |
√ | √ | √ | √ | √ | √ | √ |
| Microsoft® Visual C++® 2005 SP1 | 8.0 Prof. Edition |
√ | √ | √ | √ | √ | √ | √ |
| Microsoft® Visual C++® .NET 2003 4 | 7.1 Prof. Edition |
√ | √ | √ | √ | √ | √ | √ |
| Open Watcom 1, 7, 8 | 1.3 | √ | √ | √ | √ | √ |
Notes for the Windows (32-bit) Platform
- These compilers are being phased out and will not be supported in some future release.
- Version 6 of the Borland C++ Builder is packaged with Borland C/C++ Compiler 5.6.
- 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 WindowsMicrosoft®
Visual Studio® 2005 SP1
Professional Edition
(32-bit)Microsoft®
Visual Studio® .NET 2003
Professional Edition
(32-bit)Microsoft®
Visual Studio®
Professional Edition
(32-bit)Compiler Version 8.0 7.1 6.0 Intel C++ 9.1 √ 7.1 √ Intel Visual Fortran 9.1 √ 9.0 √ √ - These compilers are not supported on Windows Vista.
- MATLAB Builder for .NET supports building .NET Assemblies but not COM Objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
- To build .NET components, Microsoft .NET Framework SDK 1.1 or 2.0 must
be installed. These products are automatically installed by Visual Studio 2003
or 2005, respectively. They can also be downloaded from the
Microsoft website: http://msdn.microsoft.com.
To execute applications that use the resulting .NET components, the target machine must have the matching .NET Framework installed. - When using C++, MATLAB and related products rely on the availability of exception handling in the C++ language. These compilers do not properly support C++ exception handling. Consequently, our support for exception handling is limited with these compilers. You can find more information in Solution 1-4OKNSV.
- Open Watcom is supported for use in C/C++ only; Open Watcom Fortan is not supported.
- Microsoft Visual C++ 2005 Express Edition requires the MSSdk variable to be defined in the Windows environment when used with MATLAB and related products. The value of this environment variable is the path to the installation directory for Microsoft Platform SDK for Windows Server 2003. This environment variable is not usually defined by the Microsoft Platform SDK installation program.
- Includes Real-Time Workshop Embedded Coder and Stateflow Coder compiler support.
- 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.
Store