function-Call Coverage and Function Coverage matlab simulink SIL

Dear All,
I am trying to run SIL to get the report for function-Call Coverage and Function Coverage matlab simulink.
But after runing, I just got the information : C1,D1,MCDC, Execution. I can not find the function-Call Coverage and Function Coverage report contents.
So, please help me how can I configure the parameter to generate the report for function-Call Coverage and Function Coverage.
Note: I am using matlab 2022a.
Thank you very much

댓글 수: 5

For more information :
I can just configure the below converage infor only:
Types of Model Coverage
Simulink® Coverage™ can perform several types of coverage analysis.
There is no items/type/term as :
function-Call Coverage and Function Coverage
Please help me in this issue.
Thank you very much.
Hello @Pat Canny,
To compliance with Iso 26262, we need to calculate the function-Call Coverage and Function Coverage metric.
I tried as below link:
I solved the problem.
Thank you very much.
I'm glad you were able to find a solution.
I have asked our Documentation team to add this guidance to our documentation.
May I ask where you first looked in the Simulink Coverage documentation? I'd like to know where best to add this information.
Thanks again.
Hello @Pat Canny,
I am not really clear your question. But, I follow below link to generate the report:
If it's not satified your expectation. Please explain more detail your question.
I would like to share in my limit ability.
Thank you,

댓글을 달려면 로그인하십시오.

 채택된 답변

Pat Canny
Pat Canny 2022년 5월 31일

0 개 추천

Just recording the answer here for posterity, as @Binh Huynh Thanh was able to find a solution.
Please refer to this Answer for guidance on measuring Statement coverage for S-functions.
You can find more information on code coverage metrics in this documentation article.

댓글 수: 1

Thank you @Pat Canny,
Before that, I tried following your recording link. But, my matlab version has a problem.
After re-install, I can run the example.
Thank you for your summary.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Collect Coverage for Models에 대해 자세히 알아보기

질문:

2022년 5월 27일

댓글:

2022년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by