Main Content

Requirement summaries as comments

Include requirements links as comments

Since R2022b

Description

App Configuration Pane: Code Appearance

Configuration Objects: coder.EmbeddedCodeConfig

Option to include requirement links (Requirements Toolbox™) as comments, specified as true or false.

The comments appear as hyperlinks in the code generation report that navigate to the requirement and linked MATLAB® code range. See Requirements Traceability for Code Generated from MATLAB Code (Requirements Toolbox).

Settings

Off

This setting is the default setting.

On

Programmatic Use

Property: ReqsInCode
Values: false | true
Default: false

Version History

Introduced in R2022b