Programmatically capture baselines for iterations

5 visualizaciones (últimos 30 días)
Christian Hurtig
Christian Hurtig el 10 de Sept. de 2018
Editada: Christian Hurtig el 11 de Sept. de 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.

Respuesta aceptada

Bill Aldrich
Bill Aldrich el 10 de Sept. de 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

Más respuestas (1)

Chuck Olosky
Chuck Olosky el 10 de Sept. de 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

Community Treasure Hunt

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

Start Hunting!

Translated by