- Delete the MinGW installation files from: ‘C:\Users\<username>\MATLAB\Downloads\SupportPackages\R2017a\downloads\R2017a’ . If you do not find the MinGW files continue from step 2.
- Download the installation files from the following webpage: https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%2520Installer/Previous/1.1309.0/ . You will need the file ‘tdm64-gcc-4.9.2.exe’ for 64-bit.
- Start the installation. Deactivate the option 'Check for updates' on the welcome screen. Choose a path without spaces, e.g.: ‘C:\TDM-GCC-64’
- After the installation create the environment variable: ‘MW_MINGW64_LOC=C:\TDM-GCC-64’ . This is described on the following page: http://www.mathworks.com/help/matlab/matlab_external/compiling-c-mex-files-with-mingw.html
- Restart MATLAB and type below command in MATLAB command prompt:
I am having problem with MinGW installer (Matlab version 2017a)
조회 수: 2 (최근 30일)
이전 댓글 표시
I am having problem with Mingw downloading to matlab2017a.
댓글 수: 0
답변 (1개)
Lokesh
2023년 11월 27일
Hi,
As per my understanding, you are facing some issues with MinGW installer.
It is possible that the error is due to a network connection issue. In some cases, a firewall or antivirus might be blocking the connection. To resolve this, try temporarily deactivating any such software during the download.
As a workaround, you can manually install the MinGW Compiler by following these steps:
>> mex -setup
This should now recognize the MinGW.
Please refer to the following MATLAB Answer to know more about the issue:
I hope this resolves the issue you were facing.
Best Regards,
Lokesh
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!