主要内容

hisl_0072: Usage of tunable parameters for referenced models

R2026b

Use Simulink.Parameter objects to define tunable parameters and prevent unintended loss of tunability

Usage: High-Integrity System Modeling

Guideline ID: hisl_0072

Rules

hisl_0072: Usage of tunable parameters for referenced models

Use the Simulink.Parameter object to define tunable parameters. This applies to all tunable parameters that are meant to be shared via either the base workspace or Simulink data dictionaries. It does not apply to model arguments.

Rationale

Prevent unintended loss of parameter tunability.

Verification

Check for parameter tunability information ignored for referenced models

Tips

  • Simulink® ignores the storage class settings of parameters that are configured by using the Model Parameter Configuration dialog box for referenced models.

  • This guideline is applicable only when configuration parameter Default parameter behavior is set to Inlined.

Industry Standards

  • DO-331, Section MB.6.3.1.g – Algorithms are accurate

    DO-331, Section MB.6.3.2.g – Algorithms are accurate

  • IEC 61508-3, Table A.4 (3) 'Defensive Programming'

  • IEC 62304, 5.5.3 - Software Unit acceptance criteria

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

    ISO 26262-6, Table 1 (1d) 'Use of defensive implementation techniques'

  • EN 50128, Table A.3 (1) 'Defensive Programming'

  • EN 50657, Table A.3 (1) 'Defensive Programming'

  • EN 50716, Table A.3 (1) 'Defensive Programming'

Version History

Introduced in R2021b

expand all