Supported and Compatible Compilers – Release 2008a
Technical Note 1601
Choose your operating system:Solaris (64-bit)
MATLAB® 7.6, Simulink® 7.1, and Related Products
| Compiler | Version | MATLAB® 7.6 | MATLAB® Compiler™ 4.8 | MATLAB® Builder™ JA 2.0.1 | Simulink® 7.1 | Stateflow® 7.1 | Real-Time Workshop® 7.1 |
|---|---|---|---|---|---|---|---|
| GNU® gcc / g++ 1 | 4.1.2 | √ | √ | √ | √ | ||
| Sun™ Studio 11 cc/CC | 5.8 2 | √ | √ | √ | √ | √ | |
| Sun™ Studio 11 f90 | 8.2 | √ | √ 3 | ||||
| Sun™ Studio 12 cc/CC | 5.9 | √ | √ | √ | √ | √ | |
| Sun™ Studio 12 f90 | 8.3 | √ | √ 3 | ||||
| Sun™ Java™ Development Kit (JDK) | 1.5 | √ |
To determine the version of your compiler, see Solution 1-1880F.
Notes for the Solaris Platform
- 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.
- 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.
- 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.
Store