How To Throw Out First Frame in Equivalence Test in Test Case Manager
Show older comments
Due to some convergence stuff, I need to remove the first frame in the equivalence test in Test Case Manager, to make the signals match correctly. Is there a way to do that?
Answers (1)
Abhas
on 29 Jul 2024
Hi Richard,
You can achieve it by using the "captureEquivalenceCriteria".
Here's a step-by-step guide to achieve this accurately in MATLAB:
- Open Test Case Manager: Launch MATLAB and open the Test Case Manager where your test case is defined.
- Locate the Equivalence Test: Navigate to your specific equivalence test within the Test Case Manager.
- Capture Equivalence Criteria: Use the "captureEquivalenceCriteria" function to capture the current criteria.
eqCriteria = captureEquivalenceCriteria(tc);
- Modify Criteria: Adjust the criteria to exclude the first frame.
eqCriteria.FrameTolerance(1) = []; % Use your custom code to remove the first frame
- Save the Changes: After making the necessary adjustments, ensure to save the changes to your test case.
- Run the Test: Execute the test to verify that the first frame has been successfully excluded and the signals match correctly.
You may refer to the following documentation links to have a better understanding on captureEquivalenceCriteria and Test case Manager:
- Test Case Manager: https://www.mathworks.com/help/sltest/ug/test-case-manager.html
- captureEquivalenceCriteria: https://www.mathworks.com/help/sltest/ref/sltest.testmanager.testcase.captureequivalencecriteria.html
Categories
Find more on Outputs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!