Supported and Compatible Compilers – Release 2010b

来源:互联网 发布:手机上怎么查淘宝等级 编辑:程序博客网 时间:2024/04/30 08:51

Supported and Compatible Compilers – Release 2010b

注:Matlab从R2010b版本开始支持VS2010

A number of MathWorks products or product features require that you have a third-party compiler installed on your system. The tables below outline the compilers that are supported by various MathWorks products. These compilers are provided by a number of vendors and are available under a variety of commercial, academic, or open source terms; visit the providers' Web sites for further information.


Choose your platform:

Windows (32-bit)

On 32-bit Windows, the lcc C compiler is installed along with MATLAB, providing out-of-the-box support for most MathWorks products. Further options are available as outlined in this table.

MATLAB Product Family – Release 2010b

  MATLABMATLAB CompilerMATLAB Builder EXMATLAB Builder NEMATLAB Builder JASimBiologyFixed-Point ToolboxCompilerVersionFor MEX-file compilation and external usage of MATLAB Engine and MAT-file APIsFor C and C++ shared librariesFor all featuresFor all featuresFor all featuresFor accelerated computationFor accelerated computationlcc - win32
Included with MATLAB2.4.1√√   √√Microsoft Visual C++ 2010 Express
Available at no charge10.0√√√√ 2 √√Microsoft Visual C++ 2010 Professional10.0√√√√ 2 √√Microsoft Visual C++ 2008 Express Editionand Windows SDK 6.1 1
Available at no charge9.05√√√√ 2 √√Microsoft Visual C++ 2008 Professional SP19.0√√√√ 2 √√Microsoft Visual C++ 2005 Professional SP18.0 5√√√√ 2 √√Microsoft Visual C/C++ Professional 36.0 5√√√√ 2 √√Intel C++ 411.1√      Open Watcom 3, 6
Available at no charge1.8√    √√Intel Visual Fortran 411.1√      10.1 5√      Microsoft .NET Framework SDK
Available at no charge3.5   √ 2, 7   3.0   √ 2, 7   2.0   √ 2, 7   Sun Java Development Kit (JDK)
Available at no charge1.6    √  

Simulink Product Family – Release 2010b

  SimulinkSimulink SimulinkStateflowStateflow CoderReal-Time Workshop Real-Time Workshop Embedded CoderxPC TargetCompilerVersionFor S-Function compilation 10For model referencing, Accelerator mode, and Embedded MATLABFor Rapid Accelerator modeFor all featuresFor all featuresWhen targeting the host OSWhen targeting the host OS 10For all featuresLcc - win32
Included with MATLAB2.4.1√√√√√√√ Microsoft Visual C++ 2010 Express
Available at no charge10.0√√√√√√√ Microsoft Visual C++ 2010 Professional10.0√√√√√√√ Microsoft Visual C++ 2008 Express Edition andWindows SDK 6.1 1
Available at no charge9.0 5√√√√√√√√Microsoft Visual C++ 2008 Professional SP19.0√√√√√√√√Microsoft Visual C++ 2005 Professional SP18.0 5√√√√√√√√Microsoft Visual C/C++ Professional 36.0 5√√√√√√√√Intel C++ 411.1√       Open Watcom 3, 6
Available at no charge1.8√√ √√√√√Intel Visual Fortran 411.1√ 8      √ 910.1 5√ 8       

Notes for the Windows (32-bit) Platform

  1. Both Microsoft Visual C++ 2008 Express Edition and Windows Software Development Kit (SDK) 6.1 must be installed. For more information on installing Express Edition, see Solution 1-BYZCYZ.
  2. To build .NET components, a Microsoft .NET Framework must be installed. The .NET Framework v3.0 does not contain a framework-specific compiler; compatible components can be built using the v2.0 compiler. The .NET Framework is automatically installed by Visual Studio. It can also be downloaded from the Microsoft Web site. To execute applications that use the resulting .NET components, the target machine must have the matching .NET Framework installed.
  3. Support for C++ exception handling is limited. You can find more information in Solution 1-4OKNSV.
  4. Intel compilers depend on tools provided by Microsoft development products. The following combinations are supported by MATLAB and Simulink related products: 

    Intel Compilers
    on Microsoft Windows
     Microsoft
    Visual Studio 2008 SP1
    Professional Edition 
    (32-bit)
    Microsoft
    Visual Studio 2008 Shell

    (32-bit)
    Microsoft 
    Visual Studio 2005 SP1
    Professional Edition 
    (32-bit)
    CompilerVersion9.09.08.0Intel C++11.1√  Intel Visual Fortran11.1√√ 10.1  √Access to the 2005 SP1 edition is available from Microsoft as part of their Visual Studio with MSDN subscriptions. You should use the Microsoft Visual Studio 2008 Shell that is bundled with certain Intel Visual Fortran packages.
  5. Support for this version of this compiler will be discontinued in a future release, at which time a new version will be supported. Consult the platform road map for more information.
  6. Open Watcom is supported for use in C/C++ only; Open Watcom Fortran is not supported.
  7. MATLAB Builder NE supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK without Microsoft Visual Studio.
  8. 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.
  9. xPC Target supports Fortran code in Simulink models using C-MEX wrapper S-Functions.
  10. On Windows 7, compiling Simulink S-Functions using the MEX build script may fail with an error that the Simulink include header file 'simstruc.h' cannot be found. See bug 661855 for further discussion.

参见:

http://www.mathworks.cn/support/compilers/R2010b/index.html