addGeneratedCodeCoverage
Syntax
Description
enables task = addGeneratedCodeCoverage(task,results)task to produce the specified code coverage results for the
generated C/C++ code in equivalence tests that the task runs. The method returns the
specified task with an updated GeneratedCodeCoverageResults
property.
Note
Code coverage results for generated C/C++ code are supported only for equivalence tests that build static libraries and execute using software-in-the-loop (SIL) or processor-in-the-loop (PIL) verification. For more information, see Collect Coverage for Generated C/C++ Code in Equivalence Tests.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2026a