How can I convert a matlab code to C?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to convert this to C code
function [c]= add(a,b)
c=a+b
How is the compiler used to convert this to C, i am new to this. I do not have a Matlab coder.
1 comentario
Shashank Prasanna
el 30 de En. de 2013
If you don't have MATLAB Coder, you will have to write it yourself. There is no other way to automatically generate C code out of MATLAB code.
Respuesta aceptada
Walter Roberson
el 30 de En. de 2013
MATLAB Coder is the only product for converting MATLAB to C.
MATLAB Compiler (a different product) does not convert to C: it converts to internal data structures that are interpreted by a MATLAB engine.
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!