.m to .c --- for newbies

hello everyone ,
I have developed a code for arabic OCR suing image processing toolbox. I want to run .m file on linux ,for that i need to convert .m file to .c Can anyone tell me step by step process so as to how to convert .m to .c I m currently using R2010a . I know about matlab coder but its is unavaliable to me .I tried using matlab compiler but it converts .m to .C header file but i dont know how to use it :( ???

回答 (3 件)

Walter Roberson
Walter Roberson 2011 年 5 月 13 日

0 投票

MATLAB Coder is the only option other than rewriting everything yourself.
MATLAB Compiler does not create C code: it creates data files containing instructions for a threaded interpreter (MCR). It can, however, be used to create a Linux executable (but you would have to do so on a Linux machine.)
robn singh
robn singh 2011 年 5 月 13 日

0 投票

Hi Walter ,
Thanks for your quik reply
i m planning to run my image processing code on a 600 Mhz OMAP processor with Ubuntu OS . Also the code requires real time image acquisition . Do u think think my processor would blow up if i run my code using MCR

1 件のコメント

Walter Roberson
Walter Roberson 2011 年 5 月 13 日
MCR is not supported on OMAP processors.
You would probably need to redo your code in Simulink and use Simulink Coder (previously known as Real Time Workshop). I do see the TI OMAP listed as one of the supported targets, at least for Real Time Workshop.

サインインしてコメントする。

had abdo
had abdo 2012 年 1 月 27 日

0 投票

Hi, robn singh I need to develope a similiar project as u OCR for arabic characters ,, could u help me what the steps or algorithms u follow ??? thanks in advance

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2011 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by