Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Generating code with precompiler constructs using RTW Embedded coder
Replies: 5   Last Post: Jan 22, 2013 11:22 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
riccardo

Posts: 305
Registered: 12/7/04
Re: Generating code with precompiler constructs using RTW Embedded coder
Posted: Jun 23, 2010 9:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"karthikeyan " <kanandhi2k@gmail.com> wrote in message <hvshs1$ni7$1@fred.mathworks.com>...
> Is it possible to generate code with predefined precompiler condition using RTW E-coder?
>
> Here my example which i am looking for in generated code
>
> file : foo.c
>
> #include my_identifier.h
> function myFunc()
> {
> .......
> #ifdef identifier
> .............................................
> .................................................
> #endif
> ......
> }
>
> where identifier is defined in the my_identifier.h



Yes, I'm sure it is. Documentation and TMW's examples should give you all the info you may need.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.