Main Content

jc_0640: Initial value settings for Outport blocks in conditional subsystems

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

The initial condition shall be defined on an Outport block when both of these conditions are met for a conditional subsystem:

  • Includes a block with initial conditions (i.e. Constant and Delay blocks)

  • Connects to Outport block

When the output signal from a conditional subsystem is connected to a Merge block, the initial condition shall be defined on the Merge block.

Custom Parameter

Not Applicable

Example — Correct

The initial condition is defined.

Example — Incorrect

The initial condition is not defined.

Rationale

Sub ID a:

  • The model may not behave as intended when the initial condition is unclear.

Verification

Model Advisor check: Check undefined initial output for conditional subsystems (Simulink Check)

Last Changed

R2020a

Introduced in R2020a