OO code generation from Simulink

1 回表示 (過去 30 日間)
Amin Mannani
Amin Mannani 2018 年 9 月 27 日
回答済み: Mark McBroom 2019 年 1 月 11 日
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?

採用された回答

Mark McBroom
Mark McBroom 2019 年 1 月 11 日
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 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by