Package: matlab.unittest.plugins.codecoverage
Format to create MATLAB Profiler Coverage Report
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.
Handle. To learn how handle classes affect copy operations, see Copying Objects.