Make Signals available in C++ code

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by