主要内容

hisl_0021: Consistent vector indexing method

R2026b

Use a consistent vector indexing method within a model to reduce the risk of indexing errors

Usage: High-Integrity System Modeling

Guideline ID: hisl_0021

Rules

hisl_0021: Consistent vector indexing method
A

Within a model, use a consistent vector indexing method.

Rationale

Reduce the risk of introducing errors due to inconsistent indexing.

Verification

Check for inconsistent vector indexing methods (Simulink Check)

Industry Standards

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

  • IEC 61508–3, Table A.4 (5) 'Design and coding standards'

  • IEC 62304, 5.5.3 - Software Unit acceptance criteria

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

  • ISO 26262-6, Table 1 (1e) 'Use of well-trusted design principles'

  • ISO 26262-6, Table 1 (1c) 'Enforcement of strong typing'

  • ISO 26262-6, Table 1 (1f) 'Use of unambiguous graphical representation'

  • ISO 26262-6, Table 1 (1g) 'Use of style guide'

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

  • EN 50128, Table A.12 (1) 'Coding Standard'

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

  • EN 50657, Table A.12 (1) 'Coding Standard'

  • EN 50716, Table A.12 (1) 'Coding Standard'

  • DO-331, Section MB.6.3.2.b 'Low-level requirements are accurate and consistent'

Version History

Introduced in R2010b

expand all