error in c-compiler

2 visualizaciones (últimos 30 días)
studentU
studentU el 22 de Abr. de 2015
Respondida: studentU el 22 de Abr. de 2015
hi how can i resolve this error:
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.

Respuestas (2)

James Tursa
James Tursa el 22 de Abr. de 2015
Type the following at the command line. When asked if you want MATLAB to look for compilers, press Enter:
mex -setup
If there is a C compiler choice available, select it. If there is no C compiler choice available, then you will have to install one yourself. To see what compilers are supported you can start with this link:

studentU
studentU el 22 de Abr. de 2015
I Thank You for your reply ...   I wonder is it that there are no other alernative bypassing the C-Compiler. I work with a matlab function block that does the calculation from three fonction.m. thank you again

Categorías

Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by