I am getting the below mentioned problem when I am simulating "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
shailesh
el 6 de Feb. de 2014
Comentada: shailesh
el 18 de Feb. de 2014
I am getting the below mentioned problem when I am simulating "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
0 comentarios
Respuesta aceptada
Mischa Kim
el 6 de Feb. de 2014
Shailesh, as the msg implies you need to tell MATLAB which compiler should be used. Which, of course, means that there needs to be at least one compiler installed on your system. Then simply run
mex -setup
in the command window and choose the/a compiler.
Más respuestas (1)
Alexander
el 6 de Feb. de 2014
If you run "mex -setup" from the matlab command line it should give you the option to specify a compiler, if you have one. If you don't already have one installed, you can download and install the Microsoft SDK or Visual C++ express.
Ver también
Categorías
Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!