Main Content

cv.cvdatagroup

Class: cv.cvdatagroup
Package: cv

Create collection of cvdata objects for model reference hierarchy

Syntax

cvdg = cv.cvdatagroup(cvdo1, cvdo2,...)

Description

cvdg = cv.cvdatagroup(cvdo1, cvdo2,...) creates an instantiation of the cv.cvdatagroup class (cvdg) that contains the cvdata objects cvdo1, cvdo2, etc. A cvdata object contains results of the simulation runs.

Examples

Create an instantiation of the cv.cvdatagroup class and add two cvdata objects to it:

%% Record coverage data for 'sf_car' as cvdata object
model_1 = 'sf_car';
open_system(model_1)
cvdo1 = cvsim(model_1);

%% Record coverage data for 'sf_abs' as cvdata object
model_2 = 'sf_abs';
open_system(model_2)
cvdo2 = cvsim(model_2);

%% Add the two cvdata objects to a cv.cvdatagroup class instantiation
cvdg = cv.cvdatagroup(cvdo1, cvdo2);