Programmatically enable Generate report automatically after analysis in Simulink configuration parameters for Coverage
조회 수: 1 (최근 30일)
이전 댓글 표시
What is the config set param name for Generate report automatically after analysis
I know for various other parameters shown below the names are as follows
config_set.Components(9).CovEnable = 'on';
config_set.Components(9).CovShowResultsExplorer= 'off';
config_set.Components(9).CovHTMLOptions = '-sVT=1';
config_set.Components(9).CovCumulativeReport= 'on';
config_set.Components(9).CovEnableCumulative= 'on';
I am unable to find the name for Generate report automatically after analysis.
Any help is much appreciated

댓글 수: 0
답변 (1개)
Kiran Felix Robert
2021년 2월 1일
Hi Sai,
You can enable the Coverage Report generation with the following command,
set_param(modelName,'CovHtmlReporting','on');
To get the list of all commands use,
get_param(modelName,'ObjectParameters')
Try using the search bar in the model configurations dialog box to get the command-line name of any required property.
Kiran
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Collect Coverage for Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!