フィルターのクリア

Simulink test harness with a test sequence handling function calls

4 ビュー (過去 30 日間)
Diana
Diana 2024 年 3 月 11 日
コメント済み: Diana 2024 年 3 月 18 日
Hello,
I have a test harness created around a model component (which is having an Initialize event listener, a Main function call and an OutputsHandler function call).
After creating the test harness with a test sequence verification block, I saw the Initialize and Terminate function call created automatically with the test harness.
Q1: How are these 2 functions working? Is it enough to call the Initialize [send(Initialize)] in the first test step (initialization step) of the test sequence? Is it enough to call the Terminate function in the last test step of the test sequence?
Is the first step (where the Initialize function is called) responsible for the 2 sample delays that I have observed when running the test harness?
Q2: How to I handle the Main and OutputsHandler function call? Do I need to call these 2 inside each test step of the test sequence block? When calling these 2 function calls should I except to see some delays?
Thanks a lot for your support!
Diana
  1 件のコメント
Diana
Diana 2024 年 3 月 18 日
Hello,
Could you please help me with this topic?
Thanks much!

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by