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

6 vues (au cours des 30 derniers jours)
Peter Young
Peter Young le 13 Oct 2015
Réponse apportée : Helen le 29 Juil 2016
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.

Réponses (2)

Walter Roberson
Walter Roberson le 13 Oct 2015
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 le 29 Juil 2016
To install the MinGW-w64 compiler, use the MATLAB Add-Ons menu. Search for MinGW or select from Features.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by