Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Product Support

1601 - Supported / Compatible Compilers for MATLAB 7.1 (R14SP3)


For information on a past or the current release, please select from the choices below:

 

 


What Is MATLAB 7.1 (R14SP3) 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.1

Microsoft Windows

Macintosh

UNIX


Microsoft Windows

MATLAB 7.1 (Release 14SP3) and Related Products

Microsoft Windows    
 
 
 
Compiler Version Notes 7.1 4.3 1.1.5 1.2.5
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 x      

 

Simulink 6.3 (Release 14SP3) and Related Products

Microsoft Windows    
 
 
 
 
 
Compiler Version Notes 6.3 6.3 6.3 6.3 6.3 2.8
Microsoft Visual C/C++ .NET 2003 7.1
Prof. Ed.
3, 4 x x x x x x
Microsoft Visual C/C++ 6.0
Prof. Ed.
4 x x x x x x
Lcc - Win32 2.4.1 4 x x x x x  
Borland C++ Builder 6   x   x x x  
5   x   x x x  
Borland C/C++ Compiler 5.6 1 x   x x x  
5.5 1 x   x x x  
Compaq Visual Fortran 6.6 7 x   x      
6.1 7 x   x      
Intel C/C++ 7.1 5 x   x   x  
Open Watcom 1.3 6 x   x   x  

 


Notes for the Microsoft Windows Tables for all MATLAB 7.1 (Release 14SP3) and Simulink 6.3 (Release 14SP3) 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.

  1. The Borland C/C++ Compiler 5.5 is the Borland C/C++ Free Command Line Tools v5.5.

  2. 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.

  3. 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.

  4. 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.

  5. The Intel C/C++ Compiler is supported only for MATLAB MEX functions, not for use with
     Engine or MAT routines.

  6. Currently, only Beta support is available for this compiler. Please contact Technical Support for more information.

  7. Compaq Visual Fortran is only supported for creating Simulink S-functions using the MATLAB MEX command. The S-functions can be used with normal and accelerated simulations.


Macintosh

All MATLAB 7.1 (Release 14SP3) and Simulink 6.3 (Release 14SP3) Related Products

Macintosh  
 
MATLAB
Simulink Stateflow RTW
Compiler Version 7.1 4.3  6.3 6.3 6.3
Absoft f77/f90 8.2a x   x    
gcc / g++ 3.3 x x x x

 


UNIX

UNIX / Linux  
 
MATLAB
MATLAB Compiler Simulink Stateflow RTW
Compiler Version 7.1 4.3 6.3 6.3 6.3
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
The MathWorks is committed to supporting newer versions of widely used compilers as they are fully qualified for use with our products. MEX-files built with older versions of a supported compiler might work but have not been tested.

 

Contact support