Simulink test harness with a test sequence handling function calls
6 ビュー (過去 30 日間)
古いコメントを表示
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
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Test Scripts についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!