フィルターのクリア

Test Manager - Trigger response assessment with variable time

2 ビュー (過去 30 日間)
Nicolas Broch
Nicolas Broch 2021 年 4 月 12 日
コメント済み: Nicolas Broch 2021 年 5 月 28 日
Hi everybody,
I am in the learning phase with Simulink Test and I am working with the Test Manager. I am trying to do something which I cannot find in the documentation. I want to do a trigger-response assessment with variable time. I would like to do a rule similar to the following:
At any point of time, if A == 1 becomes true, then, with no delay, B == 1 must stay true for at least Time_min
My goal is that Time_min is defined when a trigger occurs (as described in the picture below). But unfortunately, if I use a signal as timing value, I get the error "Mapping for symbol 'Tmin' is not a valid time: expected a non-negative scalar numeric value." when I execute my test. Has anyone an idea how I could reach my goal?
Thank you for your help.
Nicolas

採用された回答

Arthi Sathyamurthi
Arthi Sathyamurthi 2021 年 5 月 27 日
Since T_min gets defined only when a trigger occurs the possibility that during first trigger, T_min is unassigned properly and gets defined as 0 or a negative value. So when you try to generate a signal that needs to be constant for that particular time T_min you get the error stated. Hence try to initialize the value of T_min before using it in the block.
  1 件のコメント
Nicolas Broch
Nicolas Broch 2021 年 5 月 28 日
Thanks Arthi! I will try it. However, I have decided to note use anymore the temporal assessments in the Test Manager because they are very limited, it's impossible to change de order of assessments and they make my tests much more longer. Instead, the blocks "test assessment" which have the drawback to get less info back in Test Manager but are much more flexibles.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by