OO code generation from Simulink
1 view (last 30 days)
Show older comments
Amin Mannani
on 27 Sep 2018
Answered: Mark McBroom
on 11 Jan 2019
How can an OO C++ code be generated from a Simulink model such that every subsystem in the model boils down to a class which can call the methods of other classes? If it is possible, how? If not, what is the alternative?
0 Comments
Accepted Answer
Mark McBroom
on 11 Jan 2019
If you use Embedded Coder and select C++ code generation, you can get a C++ class for each referenced model in the system. It is not posisble to get a C++ class for each subsystem in the model.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!