MATLAB Answers

Failed to download MinGW 6.3.0 for 2020a MATLAB

105 ビュー (過去 30 日間)
TEI BT 2020 年 8 月 5 日
コメント済み: DX Li 2021 年 3 月 25 日 11:08
I am trying to download MinGW 6.3.0 for MATLAB v2020a from Add-on Manager and I get this error:
Failed to download the third-party software:
  • MinGW 6.3.0 from
This is required by:
  • MATLAB Support for MinGW-w64 C/C++ Compiler
To resolve this issue, see this MATLAB Answer.
How can I solve this problem?

回答 (1 件)

Chidvi Modala
Chidvi Modala 2020 年 8 月 12 日
This is a known issue. Our developers are aware about it and will try to fix it in future releases.
You can use the following way to install MinGW until this gets fixed:
1. Download MinGW 6.3:
2. Extract the ZIP-file in an empty directory. Ensure that there are no spaces in the path, for example: C:\MinGW-64
3. Create the environment variable MW_MINGW64_LOC like you can find here:, which points to the path mentioned in 2, for example.:
4. Restart MATLAB and then call 'mex -setup' in MATLAB in order to check and configure MinGW. The output should show something like: "MEX configured to use 'MinGW64 Compiler (C)'...".
  1 件のコメント
DX Li 2021 年 3 月 25 日 11:08
Great! It works



Community Treasure Hunt

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

Start Hunting!

Translated by