How can I remove the error?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi. I have a problem when I run simulink that has MPC controller block. It notice the error: " Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler. " what should I do??? tnx.
0 comentarios
Respuesta aceptada
Kaustubha Govind
el 20 de Jun. de 2013
As the error message suggests, you need to run the mex -setup command to select a C compiler. If the utility does not automatically locate any installed compilers, you need to install a Supported Compiler (look against your release and platform), restart MATLAB and try running mex -setup again.
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Plant Specification en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!