matlab.unittest.plugins.codecoverage.ProfileReport class

Package: matlab.unittest.plugins.codecoverage

Format to create MATLAB Profiler Coverage Report

Construction

reportFormat = ProfileReport constructs a ProfileReport format and returns it as reportFormat. When used with the CodeCoveragePlugin, the code coverage results open in a MATLAB® Profiler Coverage Report.

Typically, you construct this class implicitly by instantiating it when you create a CodeCoveragePlugin instance. For example, p = CodeCoveragePlugin.forFolder('myTests','Producing',ProfileReport) creates a plugin that produces a MATLAB Profiler Coverage Report for code in the myTests folder.

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

Introduced in R2017b

Was this topic helpful?