unable to locate a C-compiler required by stateflow
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Harsheel
on 12 Dec 2013
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.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!