装了visual studio 2015,可是在matlab中调用失败了。
>> mex -setup
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/win64.html.
尝试去装SDK,还是不行。下面介绍一个可行的方法,也许对你有用。
下载gnumex,地址:https://sourceforge.net/projects/gnumex/?source=typ_redirect
下载Rtools,一个开发R语言的工具,地址:https://cran.r-project.org/bin/windows/Rtools/,下载好后安装。
下载Cygwin,地址:https://www.cygwin.com/