Borrar filtros
Borrar filtros

How to Convert a matlab .m extension file to hex file or c file?

7 visualizaciones (últimos 30 días)
pradeep
pradeep el 25 de Sept. de 2011
Comentada: Rik el 14 de En. de 2022
I have done my programing code in comparing single image with multiple images and obtained the desired out put. Now i want to convert that matlab '.m' file code into Hex file or c file. so that i can start simulating the prototype. I have very short period of time so plz take some time in answering the question.
Thanks
  15 comentarios
Walter Roberson
Walter Roberson el 18 de Oct. de 2011
I have not heard that octave or scilab have advanced as far as having a coder, but I do not follow them so I do not know.
pradeep
pradeep el 19 de Oct. de 2011
Oh! I see. Any way Thankyou for your inputs Walter. YOu have been a great help!

Iniciar sesión para comentar.

Respuesta aceptada

Wayne King
Wayne King el 25 de Sept. de 2011
Hi, MATLAB Coder generates C or C++ code from your MATLAB code.
  1 comentario
pradeep
pradeep el 18 de Oct. de 2011
Hi, wayne. Can we use alternative softwares like octave and scilab inorder to convert the .mfile to .hex file apart from matlab coder. Please help. I have done with the code but cant afford matlab coder as it is a costly tool.. Please help..

Iniciar sesión para comentar.

Más respuestas (2)

Daniel Shub
Daniel Shub el 18 de Oct. de 2011
The big problem seems that you cannot afford the coder. I am assuming this is an academic project (but the strategy probably holds for commercial ventures). Can you (or your supervisor) bring in a collaborator who is willing to trade authorship or ownership stake for access to the coder?
  1 comentario
pradeep
pradeep el 19 de Oct. de 2011
Yes, This is an academic project done in our own interest. We wrote a program in matlab but we are unable to convert the .mfile to .hex file. We are just working out whether octave an alternative software for matlab would convert the .mfile to .hex file. If you know any information about this please help? Thanks in advance.

Iniciar sesión para comentar.


Jeevan Kulal
Jeevan Kulal el 14 de En. de 2022
hello,
i want to generate embedded c code from matlab code. plz help me
  2 comentarios
Walter Roberson
Walter Roberson el 14 de En. de 2022
https://www.mathworks.com/matlabcentral/answers/12091-difference-between-simulink-coder-embedded-coder-and-matlab-coder
Rik
Rik el 14 de En. de 2022
(this has also been posted as a separate question)

Iniciar sesión para comentar.

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!

Translated by