- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am having problem with Mingw downloading to matlab2017a.
0 comentarios
Respuestas (1)
Lokesh
el 27 de Nov. de 2023
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 comentarios
Ver también
Categorías
Más información sobre MATLAB Support for MinGW-w64 C/C++ Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!