主要内容

Industry standard checks overview

R2026b

These checks verify whether your Simulink® model conforms to the coding best practices as described in the PLCOpen standard and other industry standards. Use the checks in this folder to verify whether:

  • Names in your model are not reserved keyword names.

  • Names in your model have consistent upper case or lower case utilization.

  • Subsystem names, top-level subsystem and port names, and signal and port names have the recommended number of characters in length.

  • Your model has comments that describe the role of the subsystem, functions, and so on.

  • Your model does not have nested comments.

  • Your model subsystem inputs and outputs do not exceed the user defined maximum input and output variables.

  • Your model variables use prefixes defined as part of the model PLC code generation configuration settings.