フィルターのクリア

Are there any Debugging Output Possibilities in Simulink Code Generation?

1 回表示 (過去 30 日間)
Thomas Krößwang-Ridler
Thomas Krößwang-Ridler 2016 年 8 月 10 日
コメント済み: Swarooph 2016 年 8 月 10 日
Is there any way to implement debugging variables that can be obtained within the generated C-code? We would need this in order to record internal variables during processing of the generated C-code in the embedded system.
I really don't want to guide each signal of interest to an output port in Simulink in order to have it available in the generated C-code as part of the External output struct. This would make the simulink program very complicated and intransparent since there are many convoluted subsystems in our project.
Is there any possibility to place something like a "probe block" within simulink that makes a signal connected to it appear as a variable within the C-code? For example as part of the Block signals (auto storage) struct or the Block states (auto storage) for system '<Root>' struct?
If not, is there any other way to include some debugging capabilities into the C-code?

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