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

2 次查看(过去 30 天)
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!!

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by