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

7 views (last 30 days)
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?

Answers (1)

Paul Urban
Paul Urban on 17 May 2023
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.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!