Main Content

Check usage of Merge blocks

Check ID: mathworks.hism.hisl_0015

Description

This check identifies the Merge blocks that are not directly connected to a conditionally executed subsystem and have the Allow unequal port widths parameter set to on.

Available with Simulink® Check™.

Results and Recommended Actions

ConditionRecommended Action
Merge block is not connected directly to a conditionally executed subsystem.Remodel so that the Merge blocks are connected directly to conditionally executed subsystems.
The Merge block parameter Allow unequal port widths is set to on.Set the Merge block parameter Allow unequal port widths to off
Multiple subsystem executes during a time step in conditionally executed subsystems.Specify execution of the conditionally executed subsystems such that only one subsystem executes during a time step.
The Outport block parameter Output when disabled is not set to held for any conditionally executed subsystems in the model.Set the Outport block parameter Output when disabled to held for each conditionally executed subsystem being merged.

Capabilities and Limitations

  • This check will not check the execution order for conditionally executed subsystems.

  • Does not run on library models.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to all.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

See Also