MATLAB user comments - Include MATLAB user comments in generated code - MATLAB (original) (raw)

Main Content

Include MATLAB user comments in generated code

Model Configuration Pane: Code Generation / Comments

Description

Specify whether to include MATLABĀ® user comments including both function description comments and other user comments from MATLAB code as comments in the generated code.

Dependencies

Settings

off (default) | on

On

Inserts MATLAB user comments as comments.

Off

Suppresses comments.

Application Setting
Debugging On
Traceability On
Efficiency No impact
Safety precaution No impact

Programmatic Use

Parameter: MATLABFcnDesc
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2010b