How can I get mex -setup to find either the Visual Studio or MinGW compiler?

6 次查看(过去 30 天)
Windows 7
64 bit
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, see
http://www.mathworks.com/support/compilers/R2015b/win64.html.

回答(2 个)

Walter Roberson
Walter Roberson 2015-10-13
The download link for the supported MingW appears to be at http://tdm-gcc.tdragon.net/download . Have you tried installing that?
With regards to Visual Studio: in R2015b none of the Express products are supported. Which VS are you trying to use?

Helen
Helen 2016-7-29
To install the MinGW-w64 compiler, use the MATLAB Add-Ons menu. Search for MinGW or select from Features.

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by