Make Signals available in C++ code

1 回表示 (過去 30 日間)
Martin Marmsoler
Martin Marmsoler 2018 年 10 月 7 日
Hello,
I'm trying to create C++ Code from a Simulink model. This works fine, but for debugging, it would be nice to have access to some signals from outside the Class of the model. Is there a possibility to set a StorageClass where some set and get functions in the class will be created to have access to these variables without creating global variables?
Martin

回答 (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