MATLAB和SIMU金宝appLINK要求

Supported and Compatible Compilers for R2022a - All Products

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' websites for further information.

Please seePolyspace文档对于当前版本中Polyspace支持的编译器列表。金宝app看金宝app支持其他语言的接口有关将MATLAB与其他编程语言一起使用的信息。

明格是一个支持金宝app的C ++编译器,可免费获得。

笔记:

  • Microsoft Visual C++ 2022 is supported as of R2022a.
  • Intel Parallel Studio XE 2018 for C/C++ and Fortran is not supported as of R2022a.

Windows

MATLAB产品家族

编译器 MATLAB MATLAB编码器 GPU编码器
SimBiology 定点设计师 HDL编码器 HDL验证者 音频工具箱 ROS工具箱
For MEX-file compilation, loadlibrary, C++ interface, and external usage of MATLAB Engine and MAT-file APIs For all features For all features

用于加速计算 用于加速计算 对accelerated testbench simulation For DPI and TLM component generation For validating and generating audio plugins 用于自定义消息和代码生成

mingw 6.3 c/c ++(分销商:mingw-w64

现在下载

Available at no charge

Microsoft Visual C ++ 2022产品系列
Microsoft Visual C++ 2019 product family
Microsoft Visual C ++ 2017产品系列9

C/C ++的Intel Oneapi 2021
Intel Parallel Studio XE 2020 for C/C++3
Intel Parallel Studio XE 2019 for C/C++3
英特尔·奥纳普(Intel oneapi)2021 fortran
英特尔平行工作室XE 2020 fortran3
Intel Parallel Studio XE 2019 Fortran3

金宝appSimulink产品家族

编译器 金宝app 金宝app 状态流 金宝appSimulink编码器 嵌入式编码器 Serdes工具箱
For S-Function compilation For Model Referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks For all features For all features 定位主机OS时 For IBIS-AMI model generation
mingw 6.3C/C ++(Distributor:mingw-w64Available at no charge
Microsoft Visual C ++ 2022产品系列
Microsoft Visual C++ 2019 product family
Microsoft Visual C ++ 2017产品系列9





C/C ++的Intel Oneapi 2021
Intel Parallel Studio XE 2020 for C/C++3
Intel Parallel Studio XE 2019 for C/C++3 8
英特尔·奥纳普(Intel oneapi)2021 fortran 6
英特尔平行工作室XE 2020 fortran3 6
Intel Parallel Studio XE 2019 Fortran3 6

MATLAB编译器

编译器 MATLAB编译器 MATLAB编译器SDK
Excel desktop的加载项 C/C ++ com 。网 MPS的Excel加载项

mingw 6.3C/C ++(Distributor:mingw-w64

Available at no charge

2
2
Microsoft Visual C ++ 2022产品系列
Microsoft Visual C++ 2019 product family
Microsoft Visual C ++ 2017产品系列9



微软。net框架SDK 4.0, 4.5, 4.6
Available at no charge
4,,,,5 7

The following products include lcc-win64 when installed: Simulink, MATLAB Coder, SimBiology, Fixed-Point Designer, HDL Coder, HDL Verifier, Stateflow, Simulink Coder, and Embedded Coder. This compiler is no longer supported and will be removed in a future release of MATLAB and Simulink. MathWorks recommends you install one of the other compilers listed on this page when using these products.

Windows平台的注释

  1. 据报道,相应的Visual Studio社区版本可行。对Visu金宝appal Studio社区的全力支持尚未获得数学工作的资格。
  2. Microsoft Windows SDK 10与此产品一起使用mingw。看答案355476更多细节。
  3. 英特尔编译器要求系统上安装Microsoft Visual Studio 2017、2019或2022。
  4. 要构建.NET组件,必须安装Microsoft .NET框架。.NET框架v3.0不包含特定于框架的编译器;可以使用V2.0编译器构建兼容组件。.NET框架由Visual Studio自动安装。也可以从Microsoft网站下载。要执行使用结果.NET组件的应用程序,目标机必须安装匹配的.NET框架。
  5. MATLAB编译器SDK支持构建.NET金宝app组件,但在使用Microsoft .NET Framework SDK的情况下不使用Microsoft Visual Studio。
  6. 仅使用MATLAB MEX命令来创建Simu金宝applink S功能,从而支持Fo金宝apprtran编译器。S函数可以与正常和加速的模拟一起使用。
  7. 在为MATLAB生产服务器构建Excel附加操作时,MATLAB编译器SDK需要.NET Framework 4.0或更高版本。
  8. MATLAB功能块不受英特尔并行工作室的支持。金宝app
  9. Visual Studio 2017可以从Visual Studio文档中下载。Community, Professional, and Enterprise editions are supported. The Visual Studio installer groups functionality into workloads; the "Desktop development with C++" workload is required for MEX and associated functionality.

笔记:

在MacOS上,不提供MATLAB的C编译器。如果您使用需要一款的产下载188bet金宝搏品,则Apple的MacOS开发环境(Xcode)为available in the Mac App Store

MATLAB产品家族

编译器 MATLAB MATLAB编译器SDK MATLAB编码器 SimBiology 定点设计师 音频工具箱 ROS工具箱
For MEX-file compilation,载荷,以及MATLAB引擎和垫子文件API的外部使用 C/C ++ For all features 用于加速计算 用于加速计算 For validating and generating audio plugins 用于自定义消息和代码生成
Xcode 13.xAvailable at no charge
Xcode 12.xAvailable at no charge

英特尔·奥纳普(Intel oneapi)2021 fortran
英特尔平行工作室XE 2020 fortran
Intel Parallel Studio XE 2019 Fortran

金宝appSimulink产品家族

编译器 金宝app 金宝app 状态流 金宝appSimulink编码器 嵌入式编码器
For S-Function compilation 用于模型引用,加速器模式,快速加速器模式和MATLAB功能块 For all features For all features 定位主机OS时
Xcode 13.xAvailable at no charge
Xcode 12.xAvailable at no charge
英特尔·奥纳普(Intel oneapi)2021 fortran
英特尔平行工作室XE 2020 fortran
Intel Parallel Studio XE 2019 Fortran
1
Intel Parallel Studio XE 2018 for Fortran
1

To determine the version of Xcode installed, start Xcode and then select Xcode->About Xcode.

Notes for the Mac Platform

  1. 仅使用MATLAB MEX命令来创建Simu金宝applink S功能,从而支持Fo金宝apprtran编译器。S函数可以与正常和加速的模拟一起使用。

Linux(64-bit)

在Linux上,不提供MATLAB的C编译器。许多Linux分布都包含GNU编译器(GCC)。

MATLAB产品家族

编译器 MATLAB MATLAB编译器SDK MATLAB编码器

GPU编码器

SimBiology 定点设计师 HDL编码器 HDL验证者 ROS工具箱
For MEX-file compilation,载荷,以及MATLAB引擎和垫子文件API的外部使用 C/C ++ For all features

For all features

用于加速计算 用于加速计算 对accelerated testbench simulation For DPI and TLM component generation 用于自定义消息和代码生成

GCC C/C ++ 9.x
Available at no charge


GCC C/C ++ 8.x
Available at no charge

GCC C/C ++ 7.x
Available at no charge


GNU GFORTRAN 8.x
Available at no charge

金宝appSimulink产品家族

编译器 金宝app 金宝app 状态流 金宝appSimulink编码器 嵌入式编码器 Serdes工具箱
For S-Function compilation 用于模型引用,加速器模式,快速加速器模式和MATLAB功能块 For all features For all features 定位主机OS时 For IBIS-AMI model generation
GCC C/C ++ 9.x
Available at no charge
GCC C/C ++ 8.x
Available at no charge
GCC C/C ++ 7.x
Available at no charge
GNU GFORTRAN 8.x
Available at no charge
1

要确定编译器的版本,请参见答案99897

Linux平台的注释

  1. 仅使用MATLAB MEX命令来创建Simu金宝applink S功能,从而支持Fo金宝apprtran编译器。S函数可以与正常和加速的模拟一起使用。