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 个评论

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 个)

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