Main Content

Avoid nested comments

Check ID:mathworks.PLC.NestedComments

Check that a model component for code generation does not contain nested comments.


This check displays a warning when a model description has nested comments.

Available with Simulink® PLC Coder™.

Results and Recommended Actions

ConditionRecommended Action
Avoid nesting of multi-line comments.Remove nested comments from the model description and rerun the check.