Hi, How to use the codewarrior compilers in matlab command line. how to use if the compiler extn is .exe or .dll. Thanks for your support.

 採用された回答

Titus Edelhofer
Titus Edelhofer 2012 年 1 月 5 日

0 投票

Hi,
if this helps: any program outside MATLAB can be called using system, e.g.
system('"c:\program files\codewarrior\codewarrior.exe" mycode.c')
Titus

4 件のコメント

sivakumar ponthala
sivakumar ponthala 2012 年 1 月 6 日
Thanks but here the problem i face is not for opening the software but for using the compilers that are residing in free scale code warrior.I want to use only the compilers with out opening the IDE. is there any way that ican do it.?
Titus Edelhofer
Titus Edelhofer 2012 年 1 月 6 日
Hi,
usually you can use compilers in command line mode. Take a look at the doc for code warrior how to call the compiler only (often compilers have the name cc.exe or similar). Take a look into the bin folder of the compiler to find out the name.
Titus
sivakumar ponthala
sivakumar ponthala 2012 年 1 月 6 日
thanks i came to know that there is compiler file called chc12.exe for target hcs 12 but it doest do any thing i think it didnt compile because if it did it would generate an .o file. i have generated the .c files by usng the Real time work shop. each of these .c files include many .h files. it works fine when i use it directly on code worrior but when i am trying to use only the compiler it doesnt work.
Titus Edelhofer
Titus Edelhofer 2012 年 1 月 6 日
Hi,
I would recommend to follow up the discussion on your "other" compiler question.
Titus

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by