unable to locate a C-compiler required by stateflow
1 次查看(过去 30 天)
显示 更早的评论
im having this problem when i run my simulink model (Simulink model + coding) stated that Matlab Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler. I tried to put the mex-setup in coding and nothing happen. also I tried to download the compiler but I can't found for windows 8.. im using 64-bit windows 8..and my MATLAB is R2012b.. can anyone suggest me on this
0 个评论
回答(1 个)
Harsheel
2013-12-12
You can try installing the Windows SDK 7.1 (although officially not supported on Windows 8, many have used it successfully). Steps to install:
The installation of the SDK7.1 under Windows 8 may fail, if you have a newer MSVC 2010 redistributable installed. So you may want to unistall this first.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!