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