Mcc command is not showing any C compiler
1 view (last 30 days)
Show older comments
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 Comments
Answers (2)
Azzi Abdelmalek
on 21 Jul 2013
If your os is 64 bit, you should choose your compiler by
mex -setup
2 Comments
Jan
on 21 Jul 2013
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
on 21 Jul 2013
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.
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!