coder.report.generateCodeMetrics
Syntax
Description
coder.report.generateCodeMetrics(
generates a static code metrics report for the code generated from
model
)model
without generating a full code generation report. The default
file name of the static code metrics report is metrics.html
.
You can also generate a static code metrics report in a code generation report by using
the function coder.report.generate
or by selecting
Generate Static Code
Metrics for Model in the Configuration Parameters dialog box.
coder.report.generateCodeMetrics(
generates the static code metrics report for the subsystem
)subsystem
. The build
folder for the subsystem must be present in the current working folder.
coder.report.generateCodeMetrics(___,
specifies options by using one or more Name,Value
)Name,Value
pair
arguments.
Examples
Input Arguments
Version History
Introduced in R2020b