c-compiler error to run file.

조회 수: 7 (최근 30일)
zewl elena
zewl elena 2012년 10월 5일
i have post this question before and do the steps by step but still unable to do it.
any 1 here having this problem before? i still got this error..
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
i try mex setup but still the same : Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Error using mex (line 206) Unable to complete successfully.
  댓글 수: 2
Andreas Goser
Andreas Goser 2012년 10월 5일
This maybe too cumbersome to do in this forum. You may want to contact Technical Support: http://www.mathworks.com/matlabcentral/answers/2495-when-shall-i-contact-mathworks-technical-support-and-how
zewl elena
zewl elena 2012년 10월 5일
oh its ok. i can run it after installing microsoft visual. tq

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by