Mcc command is not showing any C compiler
이전 댓글 표시
I need to convert a MATLAB code (written in GUI) to C. For that, I have to use mcc command. But my MATLAB is not showing any available C compiler...
Select Compiler [0]None
I already have Microsoft Visual C (2010) but it is not identifying it. What might the problem be?
Also, can anyone please give me the link of any website from which to download any C compiler.
Thanks for any help.
답변 (2개)
Azzi Abdelmalek
2013년 7월 21일
If your os is 64 bit, you should choose your compiler by
mex -setup
댓글 수: 2
Jan
2013년 7월 21일
And if you have a 32 bit machine, this command is required also. But as we can see from the question, Sarah must have started mex -setup already, because we see a part of the output of this command.
Kaustubha Govind
2013년 7월 22일
To use mcc, I think you need mbuild -setup.
Jan
2013년 7월 21일
0 개 추천
Your Matlab version matters, so please provide this detail. Either one of these pages will tell you which compilers are compatible:
- http://www.mathworks.com/support/compilers/R2013a/index.html
- http://www.mathworks.com/support/sysreq/previous_releases.html
You find the links to the compiler manufacturers there also.
Links to "any websites", from which compilers can be downloaded, can be found by Google. Better ask this service directly instead of letting us copy the list of links we found there.
카테고리
도움말 센터 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!