Borrar filtros
Borrar filtros

convert from m file to c file

1 visualización (últimos 30 días)
reez all
reez all el 27 de Mzo. de 2012
hi everyone, i have some problem. can matlab coder convert matlab script into c coding??
thank you..

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Mzo. de 2012
I am not certain that MATLAB Coder can convert MATLAB script files. Perhaps it can in R2012A, but not (as far as I know) in previous versions. Instead it needed MATLAB function files, not scripts.
Note: there are a lot of restrictions as to what code can be generated for. For example no cell arrays.
  1 comentario
reez all
reez all el 28 de Mzo. de 2012
That the main problem i am facing now. i have separate my code to be a few function how ever i have to defined the variable of my function. i really do not understand it.

Iniciar sesión para comentar.

Más respuestas (1)

hardik
hardik el 27 de Mzo. de 2012
yes matlab can convert. u can save the m-file into different format. or when u save ur mfile later on u can just right click and select open with c program. should be very easy.
  1 comentario
reez all
reez all el 28 de Mzo. de 2012
i'm very interested to know more about what you just said. can you tell me more on how to to save the m-file into different format??

Iniciar sesión para comentar.

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!

Translated by