[cvtos, cvdos] = cvload(filename)
cvtest objects that are loaded are returned
cvtos, a cell array of
cvdata objects that are loaded are returned
cvdos, a cell array of
the same size as
cvtos, but can contain empty elements
if a particular test has no results.
In the following example, if
1, the cumulative results from prior runs are restored:
[cvtos, cvdos] = cvload(filename, restoretotal)
restoretotal is unspecified or 0, the
model's cumulative results are cleared.
When using the
cvload command, be aware
of the following considerations:
When a model with the same name exists in the coverage database, only the compatible results are loaded from the file. They reference the existing model to prevent duplication.
When the Simulink® models referenced in the file are open but do not exist in the coverage database, the coverage tool resolves the links to the models that are already open.
When you are loading several files that reference the same model, only the results that are consistent with the earlier files are loaded.