How can I install MinGW for use in a new version of MATLAB?
3 次查看(过去 30 天)
显示 更早的评论
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?
回答(1 个)
Jesús Zambrano
2021-10-4
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 个评论
Jesús Zambrano
2021-10-4
Please try and click the link "MATLAN Answer" that shows in the Error message.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!