Failed to download the third-party software: MinGW 6.3.0 from MinGW-w64.org

86 views (last 30 days)
I am trying to download this third party software for MATLAB R2020b but the installation keeps failing at the second step (the part where its downloading the third party package).
I have tried reinstalling MATLAB multiple times but the error kept persisting.
My log file is attached below:

Accepted Answer

Manish Mahalwal
Manish Mahalwal on 18 Jan 2021
Hi,
Please try the following steps to resolve this issue.
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. Please create the environment variable MW_MINGW64_LOC like you can find here: http://www.mathworks.com/matlabcentral/answers/223482), which points to the path mentioned in 2, for example:
MW_MINGW64_LOC=C:\MinGW-64
4. Please 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)'...".
Hope this helps.
  3 Comments
鸣星 郭
鸣星 郭 on 15 Jul 2022
>> mex -setup
错误使用 mex
找不到支持的编译器。您可以安装免费提供的 MinGW-w64 C/C++ 编译器;请参阅安装 MinGW-w64 编译器。有关更多选项,请访问
https://www.mathworks.com/support/compilers。

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!