Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how can solve this issue with the compiler
I use a sine-wave source connected to embedded matlab function with same function input equal output then connected to the scope. easy model
when run this model i get error: Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
0 commentaires
Réponse acceptée
A Jenkins
le 19 Fév 2014
You need to setup your compiler.
As the error suggests, go to to the MATLAB command line and type
mex -setup
4 commentaires
Vincent Huneault
le 13 Fév 2015
Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014a/win64.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler 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!