Main Content

Check for length of user-defined object names

Check ID: mathworks.hism.hisl_0063

Description

This check inspects the length of the names of these user-defined objects against the Maximum Identifier length parameter in configuration settings:

  • Subsystems with function name options set to User-specified.

  • Data objects described in the guideline.

  • Signal and parameter objects.

Available with Simulink® Check™.

Results and Recommended Actions

ConditionRecommended Action
Length of the function name in a subsystem greater than the set threshold.Change the function name in the Subsystem blocks to have a length less than the set threshold.
Data object names have a length greater than threshold.Change the Data object names to have a length less than the set threshold.
Signal and Parameter names have a length greater than threshold.Change the Signal and Parameter names to have a length less than the set threshold.

Capabilities and Limitations

  • This check does not flag the signals that do not resolve to objects.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to all.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

See Also