Programmatically capture baselines for iterations
조회 수: 4 (최근 30일)
이전 댓글 표시
After generating test cases with design verifier and want to create and execute tests using the test manager. I want to capture baselines programmatically but I can't find the "capture baselines for iterations" option that's available through the UI. If this isn't possible, how do I programmatically capture baselines for iterations for the test cases generated by the design verifier?
edit: Following Bill Aldrich suggestions worked, though at first I got an error since I hadn't logged and named the signals.
댓글 수: 0
채택된 답변
Bill Aldrich
2018년 9월 10일
Hi Christian,
Thanks for your question, I can help with this.
Design Verifier has a configuration option that results in collecting expected output values and when this is enabled it causes the test cases exported to Test Manager to contain the output values as baseline criteria.
From the UI, navigate to the Design Verifier options, Results section and enable "Include expected output values" within the Data File options. By default the option is disabled.
If you wish to invoke design verifier programmatically the options setting is called "SaveExpectedOutput" and is documented on this page, sldvoptions documentation
Please let me know if you need any further help.
Bill
댓글 수: 0
추가 답변 (1개)
Chuck Olosky
2018년 9월 10일
To have the baseline data in the test case generated from SLDV in SL Test:
1) Select “Include expected output values” in the SLDV config Results pane
2) The baseline data will be automatically created as separated .mat files for each test and added to the Baseline Criteria section in SL Test
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Inputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!