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!