unable to locate a C-compiler required by stateflow

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

Answers (1)

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 Comment

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...

Sign in to comment.

Categories

Asked:

on 11 Dec 2013

Commented:

on 12 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!