主要内容

hisl_0040: Configuration Parameters > Solver > Simulation time

R2026b

Set simulation start and stop time parameters for production code generation

Usage: High-Integrity System Modeling

Guideline ID: hisl_0040

Rules

Set these simulation time configuration parameters as follows:

hisl_0040: Configuration Parameters > Solver > Simulation time
A

Start time to 0.0.

Rationale

Generate code that is valid for production code generation.

Verification

Check safety-related solver settings for simulation time (Simulink Check)

B

Stop time to a positive value that is less than the value of Application lifespan (days).

Verification

Check safety-related solver settings for simulation time (Simulink Check)

Tips

  • Simulink® allows nonzero start times for simulation. However, production code generation requires a zero start time.

  • Stop time in seconds and Application lifespan (days) is in days.

  • When configuration parameter Application lifespan (days) is set to auto (default), any positive value for Stop time is valid.

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.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 R2010a

expand all