This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Model Referencing

hisl_0037: Configuration Parameters > Model Referencing

ID: Titlehisl_0037: Configuration Parameters > Model Referencing
Description

For models used to develop high-integrity systems, set these Configuration Parameters as follows:

A

Set Rebuild to Never or If any changes detected.

B

Set Never rebuild diagnostic to Error if rebuild required.

C

Clear Pass fixed-size scalar root inputs by value for code generation.

D

Clear Minimize algebraic loop occurrences.

RationaleA

To prevent unnecessary regeneration of the code, resulting in changing only the date of the file and slowing down the build process when using model references.

B

For safety-related applications, an error should alert model developers that the parent and referenced models are inconsistent.

C

To prevent unpredictable data because scalar values can change during a time step.

D

To be compatible with the recommended setting of Single output / update function for embedded systems code.

Model Advisor Checks
  • By Task > Modeling Standards for DO-178C/DO-331 > High-Integrity Systems > Configuration > Check safety-related model referencing settings

  • By Task > Modeling Standards for IEC 61508 > High-Integrity Systems > Configuration > Check safety-related model referencing settings

  • By Task > Modeling Standards for IEC 62304 > High-Integrity Systems > Configuration > Check safety-related model referencing settings

  • By Task > Modeling Standards for EN 50128 > High-Integrity Systems > Configuration > Check safety-related model referencing settings

  • By Task > Modeling Standards for ISO 26262 > High-Integrity Systems > Configuration > Check safety-related model referencing settings

For check details, see Check safety-related model referencing settings.

References
  • DO-331, Section MB.6.3.1.b 'High-level requirements are accurate and consistent‘
    DO-331, Section MB.6.3.2.b ‘Low-level requirements are accurate and consistent’
    DO-331, Section MB.6.3.3.b ‘Software architecture is consistent’

  • IEC 61508-3, Table A.3 (3) 'Language subset’
    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.4 (11) 'Language Subset'
    EN 50128, Table A.3 (1) 'Defensive Programming'

Last ChangedR2017b