problem using mex -setup

Windows 10 and Matlab 2015b
>> 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, see
http://www.mathworks.com/support/compilers/R2015b/win64.html.

Réponses (5)

Walter Roberson
Walter Roberson le 16 Nov 2015

2 votes

4 commentaires

Luqman Subki
Luqman Subki le 20 Déc 2015
hi, i got the following problem after install mingw that u are suggest above but still i got the following problem "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. " what should i do?
Sriram
Sriram le 21 Déc 2015
Did you install MinGW-64 compiler from the Mathworks AddOns ? Doing so, will setup your environment so that mex will be able to find the compiler. Please refer to http://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html for instructions on how to use AddOns.
K G
K G le 9 Mai 2016
Hi,
I have the same problem mentioned in the initial post. When I click the "Add-ons" button in order to install MinGw, a window opens (Add-On Explorer) and the following message appears: "The Add-On Explorer is currently unavailable. We've been notified of the issue and are looking into it." (do you get the same error too or is it just me?)
Is there another way I can download and install MinGW?
I have tried this and this but the error remains.
Ludwig Nolasco
Ludwig Nolasco le 15 Nov 2017
I have the same problem. I installed the MIGGW-w64 from the AddOn but still getting the same error (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/R2016b/win64.html.) Does anyone have the way to fix it?

Connectez-vous pour commenter.

Abhilash Nair
Abhilash Nair le 9 Déc 2016

1 vote

im facing the same problem. Any solution yet?
Asim Muhammad
Asim Muhammad le 29 Août 2016
Modifié(e) : Walter Roberson le 29 Août 2016

0 votes

>> 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 commentaire

Walter Roberson
Walter Roberson le 29 Août 2016
Install one of the supported compilers, such as one of the Microsoft Visual Studio Professional editions. Or visit that link http://www.mathworks.com/support/compilers/R2016a/win64.html to get a link to install MingW

Connectez-vous pour commenter.

Slim ABDELHEDI
Slim ABDELHEDI le 8 Nov 2016

0 votes

The Add-On Explorer is currently unavailable.
We've been notified of the issue and are looking into it.

Question posée :

le 15 Nov 2015

Commenté :

le 15 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by