problem using mex -setup

73 views (last 30 days)
miguel
miguel on 15 Nov 2015
Commented: Ludwig Nolasco on 15 Nov 2017
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.

Answers (5)

Walter Roberson
Walter Roberson on 16 Nov 2015
  4 Comments
K G
K G on 9 May 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 on 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?

Sign in to comment.


Abhilash Nair
Abhilash Nair on 9 Dec 2016
im facing the same problem. Any solution yet?

Asim Muhammad
Asim Muhammad on 29 Aug 2016
Edited: Walter Roberson on 29 Aug 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 Comment
Walter Roberson
Walter Roberson on 29 Aug 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

Sign in to comment.


Slim ABDELHEDI
Slim ABDELHEDI on 8 Nov 2016
The Add-On Explorer is currently unavailable.
We've been notified of the issue and are looking into it.

bassem abdelwahed
bassem abdelwahed on 21 Dec 2016
the same problm can any one help me to fix it ?

Community Treasure Hunt

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

Start Hunting!