Main Content

Check for use of C-style comment symbols

Check ID: mathworks.jmaab.jc_0801

Guideline: jc_0801: Prohibited use of the /* and 8/ comment symbols

Description

Identifies the usage of C-style (/* and 8/) comments in CGT files and MPT objects.

Available with Simulink® Check™.

Check Parameterization

This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.

For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:

  • NA-MAAB — a

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
One or more entities use C-style comments.Consider removing C-style comments in CGT files and MPT objects.

Capabilities and Limitations

  • Does not run on library models.

  • Does not analyze content of library linked blocks.

  • Does not analyze content in masked subsystems.

  • Does not allow exclusions of blocks or charts.