필터 지우기
필터 지우기

Programmatically capture baselines for iterations

조회 수: 5 (최근 30일)
Christian Hurtig
Christian Hurtig 2018년 9월 10일
편집: Christian Hurtig 2018년 9월 11일
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.

채택된 답변

Bill Aldrich
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

추가 답변 (1개)

Chuck Olosky
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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by