fialed to install MinGW compiler
2 views (last 30 days)
Show older comments
Hi:
I failed to install the C/C++ compiler in Matlab. below are my steps:
in Matlab window, use Add-Ons, search the MinGW, I followed all the steps in the web and it showed installed successfully.
however, when I type the 'mex -setup' in Matlab window, it showed:
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/current_release/.
I tried to set the environment variable, but I even could not find where it was installed.
I also tried to download the file and installed by myself, but it failed too.
could anyone help me solve this problem?
Thanks!
Li
6 Comments
Walter Roberson
on 12 Feb 2018
What shows up in the directories
D:\Program Files\MATLAB\R2017a\toolbox\target\extensions\processor\intelhost\tfl
D:\Program Files\MATLAB\R2017a\toolbox\target\extensions\processor\intelhost\tfl\gcc
Answers (0)
See Also
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!