This class provides utilities to access Simulink Design Verifier generated test cases.
Example usage:
% Construct sldvTests object
>> Tests = sldvTests('sldv_output/modelname/modelname_sldvdata.mat')
% Get number of test cases
>> Tests.numTestCases
% Get number of steps in first test case
>> Tests.getNumStepsInTestCase(1)
Mikhail (2021). Utilities to access SLDV generated test cases (https://www.mathworks.com/matlabcentral/fileexchange/60183-utilities-to-access-sldv-generated-test-cases), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.