Mcc command is not showing any C compiler
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(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.
Jan
2013-7-21
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.
另请参阅
类别
在 Help Center 和 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!