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 日

0 投票

Okay here is the way to solve this problem, only need to add an enabled module...

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

リリース

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