How do I measure the code coverage in code generated from Real-Time Workshop® Embedded Coder?

조회 수: 2 (최근 30일)
I generate code from my application model using Real-Time Workshop®. I want to find out the line coverage for the generated code using my Simulink test harness model.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 6월 15일
An example of determining the code coverage for generated code can be found at the link below. The example measures C statement coverage in code built as a Real-Time Workshop S-Function.
Note that MathWorks does not guarantee or warrant the use or content of MATLAB Central submissions. Any questions, issues, or complaints should be directed to the contributing author.
In addition, model coverage can be obtained using Simulink® Verification and Validation:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by