How to turn off "Result explorer" and "Generate report automatically after analysis" options in the coverage settings through command line

조회 수: 2 (최근 30일)
Hi everyone, currently i am using matlab R2019b and performing automation through python. In order to generate coverage report i found some command line commands ex-
>>>covSet = Simulink.SimulationInput('model_name');
>>>covSet = setModelParameter(covSet,'CovEnable','on');
These commands are working fine and if i want to turn off a certain setting ex- "CovMetricLookupTable" so i am using-:
>>>covSet = setModelParameter(covSet,'CovMetricLookupTable','off');
this is also working fine , similarly i wanted to turn off "Result explorer" and "Generate report automatically after analysis" options in the coverage settings but i am unable to find the commands for that, can anyone please help me with a solution.

답변 (1개)

Swatantra Mahato
Swatantra Mahato 2021년 5월 3일
Hi Shashwat,
You can refer the answer in the link to understand how to get command line parameters from the Configuration Parameters:
In this case the command line parameters would be "CovShowResultsExplorer" for "Show Results Explorer" and "CovHtmlReporting" for "Generate report automatically after analysis".
Hope this helps

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by