Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

cvload - Load coverage tests and stored results into memory

Syntax

[cvtos, cvdos] = cvload(filename)
[cvtos, cvdos] = cvload(filename, restoretotal)

Description

[cvtos, cvdos] = cvload(filename) loads the tests and data stored in the text file filename.cvt. cvtos is a cell array of cvtest objects that are successfully loaded. cvdos is a cell array of cvdata objects that are successfully loaded. cvdos has the same size as cvtos, but if a particular test has no results, cvdos can contain empty elements.

[cvtos, cvdos] = cvload(filename, restoretotal) restores or clears the cumulative results from prior runs, depending on the value of restoretotal. If restoretotal is 1, cvload restores the cumulative results from prior runs. If restoretotal is unspecified or 0, cvload clears the model's cumulative results.

The following are special considerations for using the cvload command:

Examples

Store coverage results in cvtest and cvdata objects:

(test_objects, data_objects) = cvload(test_results, 1);

See Also

cvsave

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS