problem using mex -setup
Show older comments
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
on 16 Nov 2015
2 votes
4 Comments
Luqman Subki
on 20 Dec 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
on 21 Dec 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
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?
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?
Abhilash Nair
on 9 Dec 2016
1 vote
im facing the same problem. Any solution yet?
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
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
Slim ABDELHEDI
on 8 Nov 2016
0 votes
The Add-On Explorer is currently unavailable.
We've been notified of the issue and are looking into it.
bassem abdelwahed
on 21 Dec 2016
0 votes
the same problm can any one help me to fix it ?
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!