Prev: Matlab Embedded function
Next: recursion
From: karthikeyan on 23 Jun 2010 04:50 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
From: Riccardo on 23 Jun 2010 09:47 "karthikeyan " <kanandhi2k(a)gmail.com> wrote in message <hvshs1$ni7$1(a)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.
From: karthikeyan on 16 Jul 2010 04:10 "Riccardo" <nothx(a)nospam.org> wrote in message <hvt38o$6gi$1(a)fred.mathworks.com>... > "karthikeyan " <kanandhi2k(a)gmail.com> wrote in message <hvshs1$ni7$1(a)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.
From: Frank W. on 16 Jul 2010 04:58 > 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
From: karthikeyan on 16 Jul 2010 05:39 "Frank W." <yohansan.nospam(a)web.de> wrote in message <i1p6us$hdh$1(a)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
|
Pages: 1 Prev: Matlab Embedded function Next: recursion |