How to namespace the C++ code from simulink embedded coder
9 visualizaciones (últimos 30 días)
Ian Colwell el 21 de Nov. de 2022
We have several simulink models that we export using embedded coder and compile together to create 1 app.
How do we get embedded coder to generate C++ code that is namespaced? It seems like matlab coder and even embedded coder for m files have this feature, but not embedded coder for simulink.
The issue is that the generated code will create globals like "rtConstP" that will conflict with each other once compiled together.