Azzera filtri
Azzera filtri

Are there any Debugging Output Possibilities in Simulink Code Generation?

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by