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.

 Accepted Answer

Titus Edelhofer
Titus Edelhofer on 6 Jan 2012

0 votes

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 Comment

Titus Edelhofer
Titus Edelhofer on 6 Jan 2012
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".

Sign in to comment.

More Answers (1)

sivakumar ponthala
sivakumar ponthala on 7 Jan 2012

0 votes

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.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!