Hi, How to use the codewarrior compilers in matlab command line. how to use if the compiler extn is .exe or .dll. Thanks for your support.

 Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 5 de En. de 2012

0 votos

Hi,
if this helps: any program outside MATLAB can be called using system, e.g.
system('"c:\program files\codewarrior\codewarrior.exe" mycode.c')
Titus

4 comentarios

sivakumar ponthala
sivakumar ponthala el 6 de En. de 2012
Thanks but here the problem i face is not for opening the software but for using the compilers that are residing in free scale code warrior.I want to use only the compilers with out opening the IDE. is there any way that ican do it.?
Titus Edelhofer
Titus Edelhofer el 6 de En. de 2012
Hi,
usually you can use compilers in command line mode. Take a look at the doc for code warrior how to call the compiler only (often compilers have the name cc.exe or similar). Take a look into the bin folder of the compiler to find out the name.
Titus
sivakumar ponthala
sivakumar ponthala el 6 de En. de 2012
thanks i came to know that there is compiler file called chc12.exe for target hcs 12 but it doest do any thing i think it didnt compile because if it did it would generate an .o file. i have generated the .c files by usng the Real time work shop. each of these .c files include many .h files. it works fine when i use it directly on code worrior but when i am trying to use only the compiler it doesnt work.
Titus Edelhofer
Titus Edelhofer el 6 de En. de 2012
Hi,
I would recommend to follow up the discussion on your "other" compiler question.
Titus

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by