Main Content
Comments must describe purpose of component
Check ID:mathworks.PLC.Comments
Check that a model component for code generation contains comments describing the purpose of the component.
Description
This check displays a warning when a model description has no comments describing its functionality.
Available with Simulink® PLC Coder™.
Results and Recommended Actions
Condition | Recommended Action |
The function block has no comment. | Add a description to the model and rerun the check. |