Main Content

Generate static code metrics

Generate static code metrics report

Model Configuration Pane: Code Generation / Report

Description

Generate static code metrics, which can be viewed in the Code view or in a static code metrics report.

Dependencies

  • This parameter only appears for ERT-based targets.

  • This parameter requires an Embedded Coder® license when generating code.

Settings

off (default) | on
On

Generate static code metrics.

Off

Omit static code metrics.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: GenerateCodeMetricsReport
Type: Boolean
Value: on | off
Default: off

Version History

Introduced in R2011b