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


Supported and Compatible Compilers – Release 2007b

Technical Note 1601

Choose your platform:

Solaris (64-bit)

MATLAB® 7.5, Simulink® 7.0, and Related Products

Compiler Version MATLAB® 7.5 MATLAB® Compiler 4.7 MATLAB® Builder for Java 2.0 Simulink® 7.0 Simulink® 7.0
(Embedded MATLAB)
Stateflow® 7.0 Real-Time Workshop® 7.0 1
GNU® gcc / g++ 2 4.1.2             
Sun™ Studio 11 cc/CC 3 5.8  
Sun™ Studio 11 f90 8.2     4      
Sun™ Java™ Development Kit (JDK) 1.5            

To determine the version of your compiler, see Solution 1-1880F.

Notes for the Solaris Platform

  1. Includes Real-Time Workshop Embedded Coder and Stateflow Coder compiler support.
  2. 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.
  3. There is a bug in the Sun Studio 11 cc/CC 5.8 compiler that can, in some instances, cause incorrect results. Sun has released Patch 120760-12 2007/03/19 to address the issue. For more information, see Solution 1-431HK0.
  4. 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.