您的位置:首页 > 编程语言 > MATLAB

matlab 2013a选择VS 2012 作为mex compiler时会出现的bug

2013-12-10 18:43 459 查看
如果选择Microsoft Visual Studio 2012作为matlab 的mex 编译器,在编译simulink时可能会出现"Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."的错误提示。

解决办法是从官网上下载一个补丁装上,链接 http://www.mathworks.com/support/bugreports/931218

如果你用的是盗版matlab,又懒得注册,也可以从这里下载
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息