Effacer les filtres
Effacer les filtres

Are there any Debugging Output Possibilities in Simulink Code Generation?

2 vues (au cours des 30 derniers jours)
Thomas Krößwang-Ridler
Thomas Krößwang-Ridler le 10 Août 2016
Commenté : Swarooph le 10 Août 2016
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?

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by