How can you add break points and debug the C code while running a simulink model in SIL mode?

I am running unit tests with a test harness for a simulink model in SIL mode, I would like to add break points and debug the C code while the test harness for the model runs in the SIL mode.

Antworten (1)

Shreyansh Mehra
Shreyansh Mehra am 19 Sep. 2022
Bearbeitet: Shreyansh Mehra am 19 Sep. 2022
Hello Advait,
The documentation link given below explains how to enable debugging and insert breakpoints for SIL simulations and might be of help. Please have a look.
https://in.mathworks.com/help/ecoder/ug/debug-code-during-sil-simulations.html

Kategorien

Mehr zu Test Model Components finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Tags

Gefragt:

am 16 Sep. 2022

Bearbeitet:

am 19 Sep. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by