Is there any way that i can include an external compiler (say: gcc or some hcs12 complier)in to matlab and compile my codes that are generated using RTW.

 採用された回答

Titus Edelhofer
Titus Edelhofer 2012 年 1 月 6 日

0 投票

Hi,
usually you do this by implementing a custom target for RTW. Search the MATLAB doc for "custom target development" and the first hit describes this. It's not trivial though ...
Titus

1 件のコメント

Titus Edelhofer
Titus Edelhofer 2012 年 1 月 6 日
As a first step you could do the following: when you bring all your files to codewarrior and it works there, there should either be a menu entry (or already done) for generating a makefile (something like myproject.mk or similar). Execute this makefile with "make" and you will see how to correctly compile "by hand".

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

その他の回答 (1 件)

sivakumar ponthala
sivakumar ponthala 2012 年 1 月 7 日

0 投票

Titus the answer u said is correct but what i am asking is that i want to do the entire compilation process from our matlab alone. I only want to use the compilers that are in code warrior for that compilation process. Titus, will there be a make file if i some how find a way to compile the files.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by