C code generation, "unknown complier" occured
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 16 de Dic. de 2012
You have to chose your compiler. In Matlab command
mex -setup
Then choose your compiler
2 comentarios
Image Analyst
el 16 de Dic. de 2012
I also do "mcc -setup" - not sure if you have to do them both or not.
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!