MATLAB R2013b 不支持 Visual Studio 2013?

MATLAB R2013b does not support Visual Studio 2013?

我最近安装了 VS 2013。我有一个 .cpp 项目,我想用 MATLAB 2013b 编译成 mex。我一输入:

mex -setup    

在 MATLAB 中,然后我 select "y" for "Would you like mex to locate installed compilers?",我收到消息:"No supported SDK or compiler was found on this computer." 我怎样才能解决这个问题?

Visual Studio 2013 不受 MATLAB R2013b 支持。有关详细信息,请参阅此 link:http://www.mathworks.com/support/compilers/R2013b/。 R2013b 可以支持 Windows 的最新编译器和环境是 Visual Studio 2012。您的选择是将 Visual Studio 的版本降级到我提到的那个列表中兼容的版本,或将您的 MATLAB 版本至少升级到 R2014a 或更高版本。