C code generation, "unknown complier" occured
2 views (last 30 days)
Show older comments
hi,when i studying how to generate c code using matlab in a book, an error in the code generation report occured:unknown complier. how can i overcome that error?
P.S. the function in my exercise is
function c=myadd(a,b)
c=a+b;
0 Comments
Accepted Answer
Azzi Abdelmalek
on 16 Dec 2012
You have to chose your compiler. In Matlab command
mex -setup
Then choose your compiler
2 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!