Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Generating code with precompiler constructs using RTW Embedded coder
Posted:
Jul 16, 2010 5:39 AM
|
|
"Frank W." <yohansan.nospam@web.de> wrote in message <i1p6us$hdh$1@fred.mathworks.com>... > > Can you please send me the link where I can see the documentation and TMW's >examples. > > I'd start here > http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/ug/f14251.html > http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/ug/f1144416.html
Hi Frank
I couldn't see any certain solution for my problem. Basically, I am planning to generate the code configuration based. Let me send my problem again > > 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
|
|
|
|