>> mex -setup
8 次查看(过去 30 天)
显示 更早的评论
>> mex -setup Error using mex No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2016a/win64.html.
回答(1 个)
Yash
2025-1-3
Hi Asim,
As the error clearly states, the "mex" command requires MinGW compiler which is not found on your machine. To install the compiler, use the Add-Ons menu.
- On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Add-Ons.
- Search for MinGW or select from Features.
- Install the MATLAB Support for MinGW-w64 C/C++/Fortran Compiler
Given below is the link for the same:
For more options, visit: https://www.mathworks.com/support/requirements/previous-releases.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!