Export Simulink Test results of test case to .mat file programatically
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Upon running a test case within Simulink Test Manager, I can export Verify Statements manually to a .mat file. However, I am struggling to find a way to do that programatically. The function 'getVerifyRuns()' does not tell me the results of any verfication statement of my test, such as what the verfication statement is and whether that one verification statement has passed or failed.
For example, I can right click on 'Verify Statements in the above image, right click -> Export data to MAT-File, and then view the data in that .mat file. Below is what is included in the exported .mat file.
I can then manually open the Value field of any one of these signals to analyze the time, value pairs. Using these values, I can see when the verification was evaluated and see the result, where -1 is untested, 0 is passed, 1 is failed
Is there a way to programatically export these values to a .mat file in the way described without having to open sltest.testmanager and having to right-clikc and export each testcase?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Outputs 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!