No supported compiler was found.
108 views (last 30 days)
Show older comments
Nicolas Bourbaki
on 8 Apr 2019
Commented: Walter Roberson
on 1 Dec 2020
Upon trying to compile a file using mex, I receive the following error message:
Error using mex
No supported compiler was found.
I installed Visual Studio 2017 with support for C++ and actually
mex -setup C++
lets me choose my compiler.
Which additional diagnostics could I run in order to pin down the problem?
6 Comments
Accepted Answer
Matt J
on 8 Apr 2019
If you just run
>> mex -setup
it should present you with the compilers that Matlab can actually see. That should provide a clue.
1 Comment
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!