Problem: warning: "RT" redefined
6 views (last 30 days)
Show older comments
Hi
I am using embedded coder to generate a makfile project for a remote linux real-time target. When I add a SFunction block to my model and use the exact code provided in "writting wrapper S-functions" page of the Matlab documentation, I get the following warnings several times from the remote gcc on the target:
warning: "RT" redefined
warning: this is the location of the previous definition
warning: "USE_RTMODEL" redefined
In the generated make-file, RT and USE_RTMODEL are defined twice! I wonder if anyone could help how I can avoid these kind of warnings. Here is some more information:
- My host is windows and the target is linux
- I use idelink_ert and Makefile for build format(Matlab R2011a)
- I use remote_gcc and remoteBuild function to transfer and build the generated code.
Thanks
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!