cvload - Load coverage tests and results stored in file

Syntax

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

Description

The cvload command loads into memory the coverage tests and results stored in a file by the cvsave command.

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

[cvtos, cvdos] = cvload(filename, restoretotal) restores the cumulative results from prior runs if restoretotal is 1. If restoretotal is unspecified or 0, the model's cumulative results are cleared.

cvload Special Considerations

The following are some special considerations for using the cvload command:

  


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