Can you solve my Simulink error?

2 visualizaciones (últimos 30 días)
Mohsen
Mohsen el 7 de Feb. de 2013
Dear friends I have a simulink file with a unknown error: "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks.Use 'mex -setup' to select a supported C-compiler." and simulink debugger specified any block for this error. Can you help me? Regards

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Feb. de 2013
Editada: Walter Roberson el 7 de Feb. de 2013
At the MATLAB command line, command
mex -setup
and select one of the compilers that shows up.
If no compilers show up, then you need to install a compiler. The appropriate compiler to install will depend upon your MATLAB version and your operating system and whether you are using 32 bit MATLAB or 64 bit MATLAB.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by