mex -setup c++ not working
6 views (last 30 days)
Show older comments
Good afternoon. I have installed Microsoft SDK7.1 and .NET framework 4.0. However, Matlab seems can't find it. and when I run mex -setup c++, it shows error message below:
Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015a/win32.html.
Could anyone let me know what may cause this error? and how to solve it?
The matlab I am using is Matlab 16a, window 7 system.
THanks.
3 Comments
Muhammed Ali Erbir
on 6 Dec 2018
SDK is not enough. you have to install visual studio (at least community version)
while installing you have to select "C++ desktop app development" option

See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!