Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

change file in c language to matlab

1 visualización (últimos 30 días)
simira atraqi
simira atraqi el 13 de Mayo de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How can I change file in C language to Matlab? Thanks a lot

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Mayo de 2011
You would have to rewrite the code. Sometimes it is very easy and some times it gets messy (especially if the code makes heavy use of pointers.)
As an alternative, you may wish to consider calling the C code (written in C) from MATLAB. You would need to build a mex interface for that. See this guide
  2 comentarios
simira atraqi
simira atraqi el 13 de Mayo de 2011
Thank you for help.
Can I use this code without I have C languge in my compueter?
Kaustubha Govind
Kaustubha Govind el 13 de Mayo de 2011
You do need a supported C compiler (look against your MATLAB version and system platform on http://www.mathworks.com/support/compilers/R2011a/win32.html) to compile C-MEX functions, if that's what you're asking.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by