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.

Risposte (5)

Walter Roberson
Walter Roberson il 16 Nov 2015

2 voti

4 Commenti

Luqman Subki
Luqman Subki il 20 Dic 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 il 21 Dic 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 il 9 Mag 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 il 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?

Accedi per commentare.

Abhilash Nair
Abhilash Nair il 9 Dic 2016

1 voto

im facing the same problem. Any solution yet?
Asim Muhammad
Asim Muhammad il 29 Ago 2016
Modificato: Walter Roberson il 29 Ago 2016
>> 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 Commento

Walter Roberson
Walter Roberson il 29 Ago 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

Accedi per commentare.

Slim ABDELHEDI
Slim ABDELHEDI il 8 Nov 2016

0 voti

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

Richiesto:

il 15 Nov 2015

Commentato:

il 15 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by