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

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 6월 23일

답변:

2021년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by