LI Implementation of MAAB 5.0 Rule jc_0231

Checks names of basic blocks contained in the checked object to adhere to the jc_0231 character restrictions. This includes all linked or referenced content.

Characters found in i/o port block names are no subject of this rule but of dedicated rule jc_0211.

Names are checked for reserved words using the jResWords parameter.

If parameter bAllowBadSlLibNames is true, basic blocks may have the same names as blocks of the same BlockType in the simulink standard library, regardless of the general character rules for basic blocks. This also includes name variations with numeric trailers as automatically generated by the Simulink Editor in case of naming conflicts.

Exempted from the checks are all contents linked into the model from libraries listed in the jExclLibs parameter.

Note

If parameter bAllowBadSlLibNames is false, MAAB 5.0 jc_0231 is tightened in the way that no exceptions are made for basic block names appearing in the simulink standard library.

This parameter option is offered because of several inconsistencies in MAAB 5.0 jc_0201 and jc_0231. For one thing jc_0231 allows the above described exceptions without any hint in he rationale why such names would impair model integrity less than others. Also the exception does not include inital digits, but there are such block namings in the simulink library where one is even diplayed as "Correct" example in the rules description.

For the other rule jc_0201 does not allow names as used in the simulink library for masked subsystems of the same mask type, even though their appearance is the very same as a basic block (e.g. Compare<linebreak>to<space>Constant)

So to be consistent bAllowBadSlLibNames either allows standard library names for both, basic blocks and masked subsystems (as presumably intended by MAAB 5.0), or none of them at all, to be in line with the rationales.

Parameters