How can I install MinGW for use in a new version of MATLAB?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I want to ask some help for installing a C-language complier 'Mingw-w64', it has installed on a Matlab 2019b and work pretty well.
However, i moved to 2021a recently since a konw bug on matlab (the 'invoke' code for instrument control). the compiler was firstly installed automaticly for first time matlab launch. Then when I compile my previous code, it asked to instal the compiler that is shown installed in adds-on.
when I type 'mex -setup -v' in command window, it shows a 'Yes' for environement variable and a 'No' for the 'gcc.exe'. Thus i unstalled the compiler in addson and i wanted to reinstal the complier. However, this time download of the software is blocked.
Any one suffered a similar issue?
Réponses (1)
Jesús Zambrano
le 4 Oct 2021
Go to the Add-Ons explorer and type mingw64. Then, proceed with downloading and installing the compiler.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/757794/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/757799/image.jpeg)
3 commentaires
Jesús Zambrano
le 4 Oct 2021
Please try and click the link "MATLAN Answer" that shows in the Error message.
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!