Product Support
1601 - Release 13
Supported / Compatible Compilers for MATLAB 6.5
For information on other releases, please select from the choices below:
Microsoft Windows
MATLAB 6.5 (Release 13)
| Microsoft Windows | ||||||
| Compiler | Version | Notes | 6.5 | 3.0 | 1.0 | 1.1 |
| Microsoft Visual C/C++ .NET | 7.0 | 6, 7 | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 | 7 | x | x | x | x |
| Microsoft Visual C/C++ | 5.0 | 7 | x | x | x | x |
| Lcc - Win32 | 2.4.1 | 5 | x | x | ||
| Borland C++ Builder | 6 | 1 , 8 | x | x | x | x |
| 5 | 1 , 8 | x | x | x | x | |
| 4 | 1 , 8 | x | x | x | x | |
| 3 | 1 , 8 | x | x | x | x | |
| Borland C/C++ Compiler | 5.5 | 1 , 4 , 8 | x | x | ||
| 5.2 | 1 , 3 , 8 | x | x | |||
| 5 | 1 , 8 | x | x | |||
| Compaq Visual Fortran | 6.6 | x | ||||
| 6.1 | x | |||||
| Digital Visual Fortran | 6.0 | 2 | x | |||
| 5.0 | x | |||||
| Watcom C/C++ | 11 | x | ||||
| 10.6 | x | |||||
Simulink 5.0 (Release 13)
| Microsoft Windows | |||||||
| Compiler | Version | Notes | 5.0 | 5.0 | 5.0 | 2.2 | 2.0 |
| Microsoft Visual C/C++ .NET | 7.0 | 6, 7 | x | x | x | x | x |
| Microsoft Visual C/C++ | 6.0 | 7 | x | x | x | x | x |
| Microsoft Visual C/C++ | 5.0 | 7 | x | x | x | x | x |
| Lcc - Win32 | 2.4.1 | 5 | x | x | x | x | |
| Borland C++ Builder | 6 | 1 , 8 | x | x | |||
| 5 | 1 , 8 | x | x | x | |||
| 4 | 1 , 8 | x | x | x | |||
| 3 | 1 , 8 | x | x | x | |||
| Borland C/C++ Compiler | 5.5 | 1 , 4 , 8 | x | x | x | ||
| 5.2 | 1 , 3 , 8 | x | x | x | |||
| 5 | 1 , 8 | x | x | x | |||
| Compaq Visual Fortran | 6.6 | x | |||||
| 6.1 | x | ||||||
| Digital Visual Fortran | 6.0 | 2 | x | ||||
| 5.0 | x | ||||||
| Watcom C/C++ | 11 | x | x | x | x | x | |
| 10.6 | x | x | x | x | x | ||
The MATLAB Compiler 3.0 includes the MATLAB Compiler, the C/C++ Math Library and the Graphics Library.
Notes for the MATLAB 6.5 Microsoft Windows Tables
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.
1. Borland:
- Borland C++ (all versions) has a restriction on support of goto statements within try / catch blocks. The MATLAB Compiler sometimes generates goto statements for complicated if conditional statements. The generated code for these will not compile in Borland C++; as a result you will be required to simplify the if condition.
- The -A debugline option is implemented using try / catch statements. Therefore, use of this option is also restricted in the above C++ implementation.
- Borland Compilers use MIDL compiler, which is distributed with Microsoft Compilers, to generate COM components. Thus, you will need to install the MIDL compiler separately. One way to do this is to install a standard version of Microsoft Visual Studio.
2. Digital Visual Fortran 6.0:
- A number of users have reported problems with this version of Digital Visual Fortran. Although it is supported, we do not recommend using it.
3. The list that is generated when using the mex -setup and mbuild -setup commands refers to the Borland C/C++ 5.2 Compiler as Borland C/C++ 5.02.
4. The Borland C/C++ Compiler 5.5 is the Borland C/C++ Free Command Line Tools v5.5
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.
6. The list that is generated when using the mex -setup and mbuild -setup commands refers to the Microsoft Visual C/C++ .NET Compiler as Microsoft Visual C/C++ 7.0.
7. Only the Professional Edition of the Microsoft Visual C/C++ Compiler (Version 5.0, 6.0, or 7.0) is officially tested and supported by The MathWorks Products. In addition, customers have reported problems when using the Standard Edition with the Real-Time Workshop, the Real-Time Windows Target, and xPC Target. We recommend using the Professional Edition.
8. Borland Compilers use MIDL compiler, which is distributed with Microsoft Compilers, to generate COM components. Thus, you will need to install the MIDL compiler separately. On way to do this is to a standard version of Microsoft Visual Studio.
Macintosh
All MATLAB 6.5 (Release 13) and Simulink 5.0 (Release 13) Related Products
| Macintosh | ||||||
| Compiler | Version | 6.5 | 3.0 | 5.0 | 5.0 | 5.0 |
| Absoft Pro FORTRAN for OSX | 7.0 | x | x | x | x | |
| gcc (provided on Apple's Dev. Tools CD) | 2.95 | x | x | x | x | x |
UNIX Workstations
-
You must have a native ANSI C compiler for your operating system.
-
The GNU C Compiler is NOT supported use with the MATLAB Compiler, the Math library, or the Graphics Library. The exceptions are LINUX and MAC because GNU C is the native compiler for these platforms.
- 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 website for more information), or the GNU 3.0 C Compiler or higher.
- The GNU C Compiler is supported for MEX, MATLAB Engine, and MAT Routines on all platforms.
- The GNU C++ Compiler is supported only on Linux platforms. Note that the GNU C++ Compiler does not support C++ exception handling.
- C++ MEX-files are only supported to the extent that the compiler supports C++ shared libraries.
- C++ MEX-files are only supported for the version of the compiler that MATLAB was linked with.
- Workshop Compiler 6.0 on Solaris is supported in MATLAB 6.5 (R13).
- To determine what compiler you are using in UNIX machines, please visit Solution 27289.
| C++ Compilers | MATLAB 6.5 Built With: |
| Architecture | C++ Compiler version |
| Dec/Compaq Alpha | Compaq C++ V6.2-024 for Digital UNIX V4.0F (Rev. 1229) |
| HP700 | HP aC++ B3910B A.01.27 |
| HPUX | HP aC++ B3910B A.03.30 |
| IBM RS6000 | VisualAge C++ Compiler 5.0.0.0 COMMITTED |
| Linux | gcc version 2.95.2 19991024 |
| MAC | Apple Computer, Inc. version gcc-932.1, based on gcc version 2.95.2 19991024 |
| SGI | MIPSpro Compilers: Version 7.3.1.2m |
| Solaris | WorkShop Compilers 5.0 98/12/15 C++ 5.0 |
Supported Fortran Compilers on Unix Computers for MATLAB R13
| Architecture | Fortran 77 | Fortran 90 |
| Compaq Digital | Compaq Fortran 77 V5.3-189-449BB | Compaq Fortran 90 V5.3-189-449BB |
| HP-UX | HP F90 v2.4.10 | |
| HP 700 | HP F90 v2.5.1 | |
| IBM_RS | 7.1.0.0 Committed I XL Fortran Compiler | 7.1.0.0 Committed I XL Fortran Compiler |
| Linux | g77 version 2.95.2 19991024 | |
| MAC | Absof Fortran 7.0 | Absoft 7.0 |
| SGI | MIPSpro Compilers: Version 7.3.1.2m | MIPSpro Compilers: Version 7.3.1.2m |
| Solaris | WorkShop Compilers 5.0 99/09/16 FORTRAN 77 5.0 patch 107596-0 | WorkShop Compilers 5.0 99/09/16 FORTRAN 90 2.0 |
Store