Help CenterHelp Center
Extract subsystem coverage data from system-level coverage data
Since R2019b
excvd = extract(cvdo,subsystem)
example
excvd = extract(cvdo,subsystem) extracts coverage data for subsystem from system-level coverage data cvdo.
excvd
cvdo
subsystem
collapse all
Record coverage data for the sf_car model.
sf_car
model = 'sf_car' openExample(model) load_system(model) cvdo = cvsim(model);
Extract the coverage data for the shift_logic subsystem from the coverage data from the top-level model sf_car.
shift_logic
excvd = extract(cvdo,'sf_car/shift_logic');
Create a coverage report from the extracted coverage data.
cvhtml('tmp', excvd)
System-level coverage data object from a top-level model, specified as an object.
Data Types: object
object
Full name or path of a subsystem in an open or loaded Simulink model, specified as a character vector.
Data Types: character vector
character vector
Coverage data object for a subsystem extracted from a Simulink model, returned as an object.
expand all
You can use extract to extract the coverage data for a subsystem.
extract
cv.cvdatagroup | cvhtml | cvsim
cv.cvdatagroup
cvhtml
cvsim
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office