Coverage report issue on S-function

Hello, there is a problem that i seem to not get a clear answer elsewhere. I need to generate a coverage report for some hand written functions (s-functions) and the report comes only as HTML (web) is there a way you could make this report into Excel, other than using some sort of script, a faster way?

Answers (1)

Mark McBroom
Mark McBroom on 28 Apr 2018
You will need to write a script to extract information from the code coverage object and then write to excel using xlswrite. This link explains the layout of the code coverage data and gives example MATLAB code to access the data.

This question is closed.

Products

Asked:

on 25 Apr 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!