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 4:10 AM
|
|
"Riccardo" <nothx@nospam.org> wrote in message <hvt38o$6gi$1@fred.mathworks.com>... > "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.
Hi Riccardo
Can you please send me the link where I can see the documentation and TMW's examples.
|
|
|
|