필터 지우기
필터 지우기

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

조회 수: 7 (최근 30일)
pradeep
pradeep 2011년 9월 25일
댓글: Rik 2022년 1월 14일
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
Walter Roberson
Walter Roberson 2011년 10월 18일
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 2011년 10월 19일
Oh! I see. Any way Thankyou for your inputs Walter. YOu have been a great help!

댓글을 달려면 로그인하십시오.

채택된 답변

Wayne King
Wayne King 2011년 9월 25일
Hi, MATLAB Coder generates C or C++ code from your MATLAB code.
  댓글 수: 1
pradeep
pradeep 2011년 10월 18일
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..

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Daniel Shub
Daniel Shub 2011년 10월 18일
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
pradeep
pradeep 2011년 10월 19일
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.

댓글을 달려면 로그인하십시오.


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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by