Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (1)

Shreyansh Mehra
Shreyansh Mehra on 19 Sep 2022
Edited: Shreyansh Mehra on 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

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!