How can I install MinGW for use in a new version of MATLAB?
8 views (last 30 days)
Show older comments
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?
Answers (1)
Jesús Zambrano
on 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 Comments
Jesús Zambrano
on 4 Oct 2021
Please try and click the link "MATLAN Answer" that shows in the Error message.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!