How to run code coverage for a MEX made using fiaccel command?
5 views (last 30 days)
Show older comments
Ashwin Goyal on 20 Nov 2019
Answered: Kavya Vuriti on 17 Feb 2020
How to use the MEX generated using fiaccel command (fixed-point numbers) to generate a code-coverage report every time the MEX is used. I am using R2015b and cannot use any newer version for now.
Kavya Vuriti on 17 Feb 2020
Profiling a mex function shows its code coverage in Profile Detail report. But profiling mex functions by using MATLAB Profiler was introduced in R2018a.
For more information, you could refer to the following link: https://www.mathworks.com/help/coder/ug/profile-generated-mex-functions-using-matlab-profiler.html#responsive_offcanvas
Hope this helps.
Find more on Collect Coverage for Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!