Product Support
1601 - Supported / Compatible Compilers for MATLAB 7.2 (2006a)
For information on a past or the current release, please select from the choices below:
- Current Release
- MATLAB 7.3 (R2006b)
- MATLAB 7.1 (R14SP3)
- MATLAB 7.0.4 (R14SP2)
- MATLAB 7.0 (R14) and 7.0.1 (R14SP1)
- MATLAB 6.5 (R13) and all Service Packs
- MATLAB 6.0 (R12) and 6.1 (R12.1)
- MATLAB 5.3 (R11)
What Is MATLAB 7.2 (2006a) Built With?
| Architecture | Compiler version |
| Linux 32 | gcc/g++ version 3.4.4 |
| Linux 64 | gcc/g++ version 3.4.4 |
| Macintosh | Apple Computer, Inc. version gcc-3.3 |
| Solaris | Sun One Studio 8 C++ 5.5 Patch 113817-06 2004/01/29 |
| Windows (32-bit) | Microsoft Visual C/C++ .NET 2003 (7.1) Professional Edition |
| Windows (64-bit) | Microsoft Visual C/C++ 2005 (8.0) Professional Edition |
Supported / Compatible Compilers for MATLAB 7.2
Microsoft Windows (32-bit)
MATLAB 7.2 (Release 2006a) and Related Products
| Microsoft Windows | MATLAB | MATLAB Compiler |
MATLAB Builder for .NET |
MATLAB Builder for Excel |
||
| Compiler | Version | Notes | 7.2 | 4.4 | 2.0 | 1.2.6 |
| Microsoft Visual C++ 2005 | 8.0 Prof. Ed. |
1, 2 | x | x | x | x |
| Microsoft Visual C/C++ .NET 2003 | 7.1 Prof. Ed. |
1, 2 | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 Prof. Ed. |
1, 2 | x | x | x | x |
| Microsoft Framework SDK | 1.1 | 2 | x | |||
| Lcc - Win32 | 2.4.1 | x | x | |||
| Borland C++ Builder | 6 | 3 | x | x | ||
| 5 | 3 | x | x | |||
| Borland C/C++ Free Command Line Tools | 5.5 | x | x | |||
| Intel Visual Fortran | 9.0 | x | ||||
| Compaq Visual Fortran | 6.6 | x | ||||
| 6.1 | x | |||||
| Intel C/C++ | 7.1 | x | ||||
| Open Watcom | 1.3 | x | ||||
Simulink 6.4 (Release 2006a) and Related Products
| Microsoft Windows | |
|
|
|
|
|
||
| Compiler | Version | Notes | 6.4 | 6.4 | 6.4 | 6.4 | 6.4 | 2.9 |
| Microsoft Visual C/C++ .NET 2003 | 7.1 Prof. Ed. |
1 | x | x | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 Prof. Ed. |
1 | x | x | x | x | x | x |
| Lcc - Win32 | 2.4.1 | x | x | x | x | x | ||
| Borland C++ Builder | 6 | 3 | x | x | x | x | ||
| 5 | 3 | x | x | x | x | |||
| Borland C/C++ Free Command Line Tools | 5.5 | x | x | x | x | |||
| Intel Visual Fortran | 9.0 | 4 | x | x | ||||
| Compaq Visual Fortran | 6.6 | 4 | x | x | ||||
| 6.1 | 4 | x | x | |||||
| Intel C/C++ | 7.1 | x | x | x | ||||
| Open Watcom | 1.3 | x | x | x | x | x | ||
Microsoft Windows (64-bit)
MATLAB 7.2 (Release 2006a) and Related Products
| Microsoft Windows | MATLAB | MATLAB Compiler |
MATLAB Builder for .NET |
||
| Compiler | Version | Notes | 7.2 | Not Supported |
Not Supported |
| Microsoft Visual C++ 2005 | 8.0 Prof. Ed. |
1, 5 | x | ||
| Microsoft Platform SDK | 14.0 | x | |||
| Intel Visual Fortran | 9.0 | x | |||
Simulink 6.4 (Release 2006a) and Related Products
| Microsoft Windows | |
|
|
|
|
|
||
| Compiler | Version | Notes | 6.4 | 6.4 | 6.4 | 6.4 | 6.4 | Not Supported |
| Microsoft Visual C++ 2005 | 8.0 Prof. Ed. |
1 | x | x | x | x | x | |
| Intel Visual Fortran | 9.0 | 4 | x | x | ||||
Notes for the Microsoft Windows Tables for all MATLAB 7.2 (Release 2006a) and Simulink 6.4 (Release 2006a) Related Products
-
The list that is generated when using the mex -setup and mbuild -setup commands refers to the Microsoft Visual C/C++ .NET 2003 Compiler as Microsoft Visual C/C++ 7.1, and refers to the Microsoft Visual C/C++ 2005 Compiler as Microsoft Visual C/C++ 8.0. Only the Professional Edition of the Microsoft Compiler (version 6.0, 7.1 or 8.0) is officially tested and supported by the MathWorks products.
-
In order to build .NET components, the Microsoft .NET Framework SDK 1.1 must be installed. This product can be downloaded from the Microsoft website: http://msdn.microsoft.com
In order to deploy .NET components, the Microsoft .NET Framework 1.1 must be installed on the target system. This product can be downloaded from the Microsoft website: http://msdn.microsoft.com
-
Version 6 of the Borland C++ Builder is packaged with Borland C/C++ Compiler 5.6. Version 5 of the Borland C++ Builder is packaged with Borland C/C++ Compiler 5.5.
-
Fortran compilers are only supported for creating Simulink S-functions using the MATLAB MEX command. The S-functions can be used with normal and accelerated simulations.
-
To use Microsoft Visual Studio 2005 on with MATLAB on 64-bit systems, the "X64 Compilers and Tools" must be chosen for installation during installation of Microsoft Visual Studio 2005.
Exception Handling
When using C++, the MATLAB Compiler relies on the availability of exception handling in the C++ language. Several of the supported compilers do not properly support C++ exception handling. Consequently, our support for exception handling is limited on those platforms.
Macintosh
All MATLAB 7.2 (Release 2006a) and Simulink 6.4 (Release 2006a) Related Products
| Macintosh | |
![]() |
||||
| Compiler | Version | 7.2 | 4.4 | 6.4 | 6.4 | 6.4 |
| Absoft f77/f90 | 8.2a | x | x | |||
| gcc / g++ | 3.3 | x | x | x | x | x |
UNIX
| UNIX / Linux | |
|||||
| Compiler | Version | 7.2 | 4.4 | 6.4 | 6.4 | 6.4 |
| Linux 32 gcc / g++ | 3.4.4 | x | x | x | x | x |
| Linux 32 g77 | 3.4.4 | x | x | x | ||
| Linux 64 gcc | 3.4.4 | x | x | x | x | x |
| Linux 64 g77 | 3.4.4 | x | x | x | ||
| Solaris cc / CC | 5.5 | x | x | x | x | x |
| Solaris gcc | 3.2.3 | x | x | x | x | |
| Solaris f90 | 7.1 | x | x | |||
- To determine what compiler you are using in UNIX machines, see Solution 1-1880F.
- gcc is supported on Solaris for MEX-files and Simulink S-functions, but not Engine or MAT-file programs.
Additional Information
Real-Time Windows Target
- Real-Time Windows Target contains a built-in compiler that is shipped with the product. The compiler used is OpenWatcom and Real-Time Windows Target uses this compiler exclusively.
Store
