Namespace option for Simulink Coder?
9 views (last 30 days)
Show older comments
I've been having the same problem as others have in the past, note this question: https://www.mathworks.com/matlabcentral/answers/280107-replicated-functions-in-simulink-coder
To summarize, when compiling multiple Simulink models into libraries and trying to link them in the same build, there are multiple definition compilation errors for common functions (rt_atan2d_snf, rt_powd_snf, etc).
Has anything been done to resolve this issue? I noticed a CppNamespace option in coder, but there is no namespace option in the Simulink coder. Is there some other code generation option that can be enabled or disabled to prevent this problem?
2 Comments
Dana Erez
on 7 Oct 2021
Hi,
I have the exact same problem as you do. Have you found a suitable solution or workaround?
Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!