Info

This question is closed. Reopen it to edit or answer.

Embedding generated C++ code from different Matlab versions in existing C++ code base

1 view (last 30 days)
Say that I have 2 simulink models, ModelA and ModelB. ModelA is developed and code generated (C++) with some Matlab Version A. ModelB is developed a year later than ModelA and is code generated (C++) with some other Matlab Version B. Is there a way to generate the C++ code so that it is completely self contained in the sense that the code generated from the two matlab versions can be compiled and linked in the same legacy C++ application without symbol conflicts?
It is not desired to open to ModelA again an generate the code with the newer matlab version in order to avoid symbol conflicts with generated code from Model B. To fulfill this, no public symbols should be "leaked" from the generated code.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!