Install MinGW-w64 compiler without Add-on explorer
52 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tim
el 18 de Oct. de 2016
Comentada: Franck Thierry Pouomogne
el 21 de Jun. de 2020
I want to install the MinGW-w64 compiler but my Add-On Explorer isn't working. Is there another way to install or a way to fix the Add-On explorer. Problem could be due to work firewall or browser restrictions. I have set my proxy server.
0 comentarios
Respuesta aceptada
Yatin
el 15 de Nov. de 2016
1 comentario
Franck Thierry Pouomogne
el 21 de Jun. de 2020
hello everyone , please i have problem to dowload MinGW-w64 a C/C++ compiler from TDM-GCC , for matlab 2014 , what can i do please ..?
Más respuestas (3)
Soma Ardhanareeswaran
el 21 de Oct. de 2016
You can specify the proxy settings in MATLAB preferences. Refer https://www.mathworks.com/help/matlab/matlab_env/web-browsers-and-matlab.html#bq37bb3-3
If you are still not able to proceed, then you can download the TDM GCC 4.9.2 MinGW compiler from the following link - https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%204.9%20series/4.9.2-tdm64-1/
Install the compiler and then run the following command in MATLAB to configure it with MATLAB
mex -setup C++
MATLAB should now be able to detect the compiler
Mark Thomas
el 17 de En. de 2018
Editada: Mark Thomas
el 17 de En. de 2018
If your ZIP archive has the pre-built compiler in it, you just need to unzip it under a directory with no spaces in its name. My MinGW-w64 lives under D:\Programs, and its top-level directory [created by the installer, not from a ZIP file] contains directories:
D:\Programs\TDM-GCC-64\__installer
\bin
\gdb64
\include
\lib
\libexec
\share
\x86_64-w64-mingw32
MATLAB uses the environment variable MW_MINGW64_LOC to find the MinGW-w64 compiler (see this answer https://uk.mathworks.com/matlabcentral/answers/313298-i-already-have-mingw-on-my-computer-how-do-i-configure-it-to-work-with-matlab#answer_244144).
I ran cmd.exe with admin rights to open a terminal and entered command sysdm.cpl [this is the command run by steps 2 & 3 in the answer's instructions for MATLAB R2015b to R2017a] and followed steps 4-9, setting MW_MINGW64_LOC to "D:\Programs\TDM-GCC-64".
The MATLAB mex -setup command found MinGW-w64, and set it up as the MEX compiler.
Mixajlo
el 2 de Jul. de 2018
Editada: Mixajlo
el 2 de Jul. de 2018
You can normally install compiler from add-on explorer, but you should execute matlab command: >>webutils.htmlrenderer('ie')
By this command, you will force matlab to use internet explorer as the html renderer, instead of forced chrome renderer. Matlab doesn't work perfectly with chrome.
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!