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:
Jun 23, 2010 9:47 AM
|
|
"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.
|
|
|
|