2014-04-30 77 views
0

我想在Windows 8 64位机器上安装Visual Studio 2012编译器和matlab 2013a 64位,这样我就可以在simulink仿真中运行matlab函数。我做了MEX -setup和mbuild -setup因为我发现在网上说,但是当我运行模拟,我得到一个错误Visual Studio 2012 pro和Matlab 2013a

Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. 
Use 'mex -setup' to select a supported C-compiler. 

没有人有那里可能是问题的任何想法?

在此先感谢。

+0

我也有越来越为2013a支持的编译器在Win 8(64位)的问题......对我来说,它最终与Windows SDK 7.1,其不支持解决win 8但是可以工作(一旦你通过了安装问题) – RTL

+0

可能与[这个SDK安装程序的bug有关](http://stackoverflow.com/a/19105762/2778484),它会优雅地删除所有的编译器。 – chappjc

回答