Simulink matlab-function C-compiler error

Hi, I tried to run a simple simulink file with matlab function but it gives that error "Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks." Insulation of SDK is failing. How I could solve this problem ? (windows 7 with matlab2012b)
Thanks and Regards

댓글 수: 4

Walter Roberson
Walter Roberson 2013년 6월 15일
When you say that installation of SDK is failing, please be more specific about the problem you observe.
Are you using 64 bit MATLAB or 32 bit MATLAB?
harun tugal
harun tugal 2013년 6월 17일
I am using 64 bit MATLAB. About SDK the installation can not be completed. It gives that error; " Installation Failed, A problem occurred while installing selected Windows SDK components".
Have you tried
mex -setup
even after the failed installation? If the installation is failing, the components required may have made it through. I've seen that work before. Otherwise you may have to contact MS to determine why it won't install.
harun tugal
harun tugal 2013년 6월 17일
Yes I did but matlab says "No supported SDK or compiler was found on this computer."

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

질문:

2013년 6월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by