Converting .m file to .c file

Actully sir I am having a problem that i can't find the way how to convert my .m file to .c file. I will be very greatful to u if u can answer my question as soon as possible

Respuestas (2)

Andreas Goser
Andreas Goser el 28 de Sept. de 2011

2 votos

"MATLAB Coder™ generates standalone C and C++ code from MATLAB® code. The generated source code is portable and readable. MATLAB Coder supports a subset of core MATLAB language features, including program control constructs, functions, and matrix operations. It can generate MEX functions that let you accelerate computationally intensive portions of MATLAB code and verify the behavior of the generated code."

1 comentario

Walter Roberson
Walter Roberson el 28 de Sept. de 2011
Note, Dheeraj, that MATLAB Coder is not the same product as the MATLAB Compiler; the Compiler Toolbox cannot generate .c files, just executables.
Also note that "MATLAB Coder" is the name for the recent refinement and continuation of an older product line that had a different name. The exact initial release slips my mind at the moment, either R2010a or R2011a; if you are using an older version than you would need the equivalent older products.

Iniciar sesión para comentar.

Nagaraj Selvaraj
Nagaraj Selvaraj el 27 de En. de 2017

0 votos

Can you still give a more specific answer? Thanks in advance.

1 comentario

Steven Lord
Steven Lord el 27 de En. de 2017
The tutorials for MATLAB Coder walk through the process of creating C code from MATLAB code.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Sept. de 2011

Comentada:

el 27 de En. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by