unable to locate a C-compiler required by stateflow

1 vue (au cours des 30 derniers jours)
peppa
peppa le 11 Déc 2013
Commenté : peppa le 12 Déc 2013
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

Réponses (1)

Harsheel
Harsheel le 12 Déc 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.
  1 commentaire
peppa
peppa le 12 Déc 2013
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...

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by