error in c-compiler

조회 수: 2 (최근 30일)
studentU
studentU 2015년 4월 22일
답변: studentU 2015년 4월 22일
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.

답변 (2개)

James Tursa
James Tursa 2015년 4월 22일
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 2015년 4월 22일
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

카테고리

Help CenterFile Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by