Make Signals available in C++ code

1 view (last 30 days)
Martin Marmsoler
Martin Marmsoler on 7 Oct 2018
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

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!