Programmatically capture baselines for iterations
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Christian Hurtig
am 10 Sep. 2018
Bearbeitet: Christian Hurtig
am 11 Sep. 2018
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 Kommentare
Akzeptierte Antwort
Bill Aldrich
am 10 Sep. 2018
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 Kommentare
Weitere Antworten (1)
Chuck Olosky
am 10 Sep. 2018
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 Kommentare
Siehe auch
Kategorien
Mehr zu Inputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!