Product Support
1601 - Supported / Compatible Compilers for MATLAB 7.0.4 (R14SP2)
For information on a past or the current release, please select from the choices below:
- Current Release
- MATLAB 7.4 (R2007a)
- MATLAB 7.3 (R2006b)
- MATLAB 7.2 (R2006a)
- MATLAB 7.1 (R14SP3)
- MATLAB 7.0 (R14)
- MATLAB 6.5
- MATLAB 6.1 and 6.0
- MATLAB 5.3
What Is MATLAB 7.0.4 (R14SP2) Built With?
| Architecture | Compiler version |
| HP-UX | HP aC++ B3910B A.03.37 (B11.11.06) |
| Linux 32 | gcc/g++ version 3.2.3 |
| Linux 64 | gcc/g++ version 3.3.2 |
| Macintosh | Apple Computer, Inc. version gcc-3.3 |
| Solaris | Sun One Studio 8 C++ 5.5 Patch 113817-06 2004/01/29 |
| Windows | Microsoft Visual C/C++ .NET 2003 (7.1) Professional Edition |
Supported / Compatible Compilers for MATLAB 7.0.4
Microsoft Windows
MATLAB 7.0.4 (Release 14SP2) and Related Products
| Microsoft Windows | |
|
|
|
||
| Compiler | Version | Notes | 7.0.4 | 4.2 | 1.1 .4 | 1.2.4 |
| Microsoft Visual C/C++ .NET 2003 | 7.1 Prof. Ed. |
3, 4 | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 Prof. Ed. |
4 | x | x | x | x |
| Lcc - Win32 | 2.4.1 | 4 | x | x | ||
| Borland C++ Builder | 6 | x | x | |||
| 5 | x | x | ||||
| Borland C/C++ Compiler | 5.6 | 1 | x | x | ||
| 5.5 | 1 | x | x | |||
| Compaq Visual Fortran | 6.6 | x | ||||
| 6.1 | x | |||||
| Intel C/C++ | 7.1 | 5 | x | |||
| Open Watcom | 1.3 | 6 | ||||
Simulink 6.2 (Release 14SP2) and Related Products
| Microsoft Windows | |
|
|
|
||
| Compiler | Version | Notes | 6.2 | 6.2 | 6.2 | 2.7.2 |
| Microsoft Visual C/C++ .NET 2003 | 7.1 Prof. Ed. |
3, 4 | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 Prof. Ed. |
4 | x | x | x | x |
| Lcc - Win32 | 2.4.1 | 4 | x | x | x | |
| Borland C++ Builder | 6 | x | x | x | ||
| 5 | x | x | x | |||
| Borland C/C++ Compiler | 5.6 | 1 | x | x | x | |
| 5.5 | 1 | x | x | x | ||
| Compaq Visual Fortran | 6.6 | x | ||||
| 6.1 | x | |||||
| Intel C/C++ | 7.1 | 5 | x | x | x | |
| Open Watcom | 1.3 | 6 | x | |||
Notes for the Microsoft Windows Tables for all MATLAB 7.0.4 (Release 14SP2) and Simulink 6.2 (Release 14SP2) Related Products
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.
-
The Borland C/C++ Compiler 5.5 is the Borland C/C++ Free Command Line Tools v5.5.
-
The list that is generated when using the mex -setup and mbuild -setup commands
refers to the Lcc v2.4.1 Compiler as LCC C v2.4. -
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. -
Only the Professional Edition of the Microsoft Visual C/C++ Compiler (Version 6.0 or 7.1)
is officially tested and supported by the MathWorks products. -
The Intel C/C++ Compiler is supported only for MATLAB MEX functions, not for use with
Engine or MAT routines. -
Currently, only Beta support is available for this compiler. Please contact Technical Support for more information.
Macintosh
All MATLAB 7.0.4 (Release 14SP2) and Simulink 6.2 (Release 14SP2) Related Products
| Macintosh | |
||||
| Compiler | Version | 7.0.4 | 6.2 | 6.2 | 6.2 |
| Absoft f77/f90 | 8.2a | x | x | ||
| gcc / g++ | 3.3 | x | x | x | x |
UNIX
| UNIX / Linux | |
|||||
| Compiler | Version | 7.0.4 | 4.2 | 6.2 | 6.2 | 6.2 |
| Linux 32 gcc / g++ | 3.2.3 | x | x | x | x | x |
| Linux 32 g77 | 3.2.3 | x | x | x | ||
| Linux 64 gcc | 3.3.2 | x | x | x | x | x |
| Linux 64 g77 | 3.3.2 | 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 | |||
| HP-UX cc / aCC | B11.11.06 | x | x | x | x | x |
| HP-UX f90 | v2.6 | x | x | |||
- You must have a native ANSI C compiler for your operating system.
- The bundled C Compiler shipped with HP-UX is not supported because it is not ANSI C compliant. Use the ANSI C Compiler for HP-UX (refer to the Hewlett-Packard Web site for more information).
- 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 is a subset of OpenWatcom 1.1 and Real-Time Windows Target uses this compiler exclusively.
Untested Compilers for MathWorks Products
(continued support from previous releases)
The following compilers supported in previous releases have not been tested against this release but will still be distributed:
-
Borland C++ Builder 2.0, 3.0 and 4.0
Borland C/C++ Compiler 5.0, 5.2, 5.3, and 5.4
Compaq (Digital) Visual Fortran 5.0
Microsoft Visual C/C++ 5.0, 7.0 (Professional Edition)
Watcom C/C++ 11
Store