Main Content

Check connections between structural subsystems

Check ID: mathworks.jmaab.jc_0171

Guideline: jc_0171: Clarification of connections between structural subsystems

Description

Checks the signal flow when using Goto and From blocks.

This check identifies the subsystems connected to each other that use Goto and From blocks in feed-forward and feedback loops that do not have at least one signal line for each direction.

This check requires a Simulink® Check™ license.

Check Parameterization

This check contains sub-checks that correspond to sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.

For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:

  • NA-MAAB — No recommendations

  • JMAAB — a, b

You can configure the check to run on the Variant Subsystems, or Conditionally Executed Subsystems blocks by selecting the Variant Subsystems, or Conditionally Executed Subsystems check boxes respectively. Both the check boxes are selected by default.

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0171_a: Check direct connections between structural subsystemsOne or more structural subsystems do not have direct connections between them.Make at least one direct connection between the listed subsystems in the given direction (Subsystem 1 to Subsystem 2) with the exception of Memory, Delay, Bus Creator, and Bus Selector blocks.
jc_0171_b: Check for unused inputs inside structural subsystemsOne or more structural subsystems have unused inputs.

Remove the unused inputs inside structural subsystems. Reducing the number of unnecessary connections makes connection relationships clearer.

Capabilities and Limitations

  • Does not report issues with guideline sub ID b (jc_0171_b: Check for unused inputs inside structural subsystems) for Charts and MATLAB Function blocks.

  • The check allows the connections made from the referenced subsystems within another subsystem.

  • Runs on library models.

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

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

  • Allows exclusions of blocks and charts.