Error using mex No supported compiler or SDK was found.

来源:互联网 发布:js去掉html所有的属性 编辑:程序博客网 时间:2024/06/06 11:44

问题:windows10系统,已安装Visual Studio 2015 和 Matlab2017a,Matlab运行中遇到错误:

“Error using mex No supported compiler or SDK was found.”


百度、google了非常多的方法,始终没有解决。卸载Visual Studio和Matlab,然后重装依然没有用。


最终解决方法:

发现在安装Visual Studio 2015是默认是不安装C++相关文件的,运行安装文件,选择修复,勾选编程语言中的VC++,等待安装完成,重启Matlab,在命令行输入:

mex -setup  ,显示如下:


完美解决~

阅读全文
1 0
原创粉丝点击