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

回答(1 个)

Harsheel
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.
  1 个评论
peppa
peppa 2013-12-12
hi ..I have done like what you told me however, this problem arise.. 'nmake' is not recognized as an internal or external command, operable program or batch file. do you know how to solve it...

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by