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.

 Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 6 de En. de 2012

0 votos

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 comentario

Titus Edelhofer
Titus Edelhofer el 6 de En. de 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".

Iniciar sesión para comentar.

Más respuestas (1)

sivakumar ponthala
sivakumar ponthala el 7 de En. de 2012

0 votos

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.

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by