How to modify signal editor active scenario from the test assessment (or test manager)?

조회 수: 7 (최근 30일)
To test a component I have created a test harness containing a signal editor and a test assessment. The signal editor contains three scenarios. My goal is to run all the three scenarios. The assessments are the same for the three scenarios.
The test assessment only verify the signal editor active scenario. How I can modify the signal editor active scenario from the test assessment?

답변 (1개)

Paul Urban
Paul Urban 2023년 5월 17일
Have you tried using the Test Manager? There are a couple of ways to do this thru the Test Manager. You can open test manager with command:
sltestmgr
Create a new test file and create a new Test Case with the model and test harness for the System Under Test. Then there is an option in the Inputs section to specify which Signal Builder Scensario to use for the Test Case. The other option is to use the Iterations section of a Test Case where each scenario is an iteration and all would be tested in one testcase. You can use the Auto Generate button to create the iterations from the Signal Editor.

카테고리

Help CenterFile Exchange에서 Outputs에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by