Simulink® Block / Stateflow® Object Comments
Include Simulink block or Stateflow object comments
Model Configuration Pane: PLC Code Generation / Comments
Description
The Simulink block / Stateflow object comments parameter specifies whether to insert Simulink block and Stateflow object comments.
Dependencies
To use this parameter, enable the Include comments parameter.
Settings
on (default) | off
On Inserts automatically generated comments that describe block code and objects. The comments precede that code in the generated file.
OffSuppresses comments.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | On |
| Efficiency | No impact |
| Safety precaution | On |
Programmatic Use
Parameter: PLC_RTWSimulinkBlockComments |
| Type: string |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2010a