MATLAB Answers

How can I install MinGW compiler for use with Windows 10 SDK kit?

229 ビュー (過去 30 日間)
How can I install MinGW compiler for use with Windows 10 SDK kit?

採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 6 月 25 日
編集済み: MathWorks Support Team 2021 年 6 月 25 日
To generate Excel add-ins or Generic COM components, you will need a combination of MinGW 5.3.0 compiler and Windows 10 SDK kit.
In order to install these, follow the steps mentioned below:
  1. Install MinGW-w64 from the MathWorks File Exchange: MATLAB Support for MinGW-w64 C/C++ Compiler.
  2. Install Windows 10 SDK from the Windows Windows 10 SDK .
  3. Run the following command from the MATLAB command window to test if the combination of “MinGW and Windows 10 SDK” is being detected by MATLAB.
mbuild -setup -client mbuild_com
  2 件のコメント
Yaying Zhao
Yaying Zhao 2021 年 7 月 22 日
mbuild -setup -client mbuild_com this works well in MATLAB command window, but when I run mbuild -setup in system terminal, I have a error message as "Supported compiler not found. You can install the MinGW-w64 C/C++ compiler, which also requires installation of the Windows 10 SDK." How can I make this work on system terminal? To provide some context, I am trying to compile C++ shared library created by MATLAB library compiler. Thanks.

サインインしてコメントする。

その他の回答 (0 件)

タグ

タグが未入力です。

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by