Clear Filters
Clear Filters

Simulink conditional breakpoint setting and continue in co-simulation with CANoe

2 views (last 30 days)
Greetings all, i have this problem haunted me for a long time, in my simulink model i want to add a break funtion which can stop the funtion running when the signal doesn't meet the condition but as the function running for a bit while, the signal may meet the condition again and in this point i'd like simulink continues recording from where it stopped. Below is what i want for the result, these three curves are the input signals from CANoe and i'd like to set several conditions to realize the function that i want. Question is how can i realize the desired result described in below? can anyone help me? many thanks!!

Accepted Answer

Song Lyu
Song Lyu on 28 Jun 2021
Okay here is the way to solve this problem, only need to add an enabled module...

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!