MATLAB® source code comment line numbers
Include line numbers of MATLAB source code as comments in the generated code
Since R2022b
Description
App Configuration Pane: Code Appearance
Configuration Objects: coder.CodeConfig
| coder.EmbeddedCodeConfig
Whether to include line numbers corresponding to the MATLAB source code as comments in the generated code. Clearing this check box removes traceability tags from the code generation report.
Dependencies
To enable this parameter, select the Include comments check box.
Settings
- On
The code generator includes line numbers corresponding to the MATLAB source code as comments in the generated code. This setting is the default setting.
- Off
The code generator does not include line numbers corresponding to the MATLAB source code as comments in the generated code.
Programmatic Use
Property:
MATLABSourceCommentLineNumbers |
Values: true |
false |
Default: true |
Version History
Introduced in R2022b