主要内容

hisl_0049: Configuration Parameters > Code Generation > Identifiers

R2026b

Set minimum mangle length to reduce identifier changes during code generation

Usage: High-Integrity System Modeling

Guideline ID: hisl_0049

Rules

hisl_0049: Configuration Parameters > Code Generation > Identifiers

To minimize the likelihood that parameter and signal names will change during code generation when the model changes, set configuration parameter Minimum mangle length to 4 or greater.

Rationale

Decrease the effort to perform code review.

Verification

Check safety-related code generation identifier settings (Simulink Check)

Industry Standards

  • DO-331, Section MB.6.3.4.e 'Source code is traceable to low-level requirements'

  • IEC 61508-3, Table A.3 (3) 'Language subset'

  • IEC 62304, 5.5.3 - Software Unit acceptance criteria

  • ISO 26262-6, Table 1 (1b) 'Use of language subsets'

  • EN 50128, Table A.4 (11) 'Language Subset'

  • EN 50657, Table A.4 (11) 'Language Subset'

Version History

Introduced in R2016b

expand all