Check for invalid root input and output port connections
mathworks.hism.hisl_0079
Since R2024a
Dependencies: Simulink® Check™
Usage: High-Integrity System Modeling
Guideline: hisl_0079: Connections to root input/output ports
Description
This check identifies invalid internal connections to the root ports in referenced models.
Invalid connections include:
A root outport block connects directly or indirectly to more than one nonvirtual block port.
A root outport block connects to a ground block.
The outport block connects to some elements of a block output.
An outport block connects more than once to the same element.
The signal that drives the root outport block is a test point.
The driving block has a constant sample time and multiple output ports, and one of the other outports of the block is a test point.
The root outport is conditionally computed and a function prototype control or an encapsulated C++ target is used. The function prototype specification or C++ target specification states that the output variable corresponding to that root outport is returned by value.
A partial signal drives a root outport.
A bus element drives a root outport.
A noninlined S-function reads from a root inport in accelerator mode but not normal mode.
Recommended Actions and Results
Review the violations that are flagged by the check and the recommended action for fixing the issue. After applying the changes, save the model and rerun the check analysis.
Modeling Condition | Recommended Action |
---|---|
Noninline S-function reads from root inport. | Insert a Signal Conversion block before the noninlined S-function. |
Model includes invalid root outport connections. | Insert a Signal Conversion block before the outport. |
Capabilities and Limitations
Does not allow exclusions of blocks or charts
Does not run on libraries
Does not analyze content of library-linked blocks
Does not analyze the content in masked subsystems
Analyzes only active variant choices
Performs model compilation
Version History
Introduced in R2024a
See Also
Topics
- Check Your Model Using the Model Advisor
- Address Model Check Results
- Save and View Model Advisor Check Reports
- Improve Simulation Performance Using Performance Advisor
- Upgrade Models Using Upgrade Advisor
- Use Model Advisor Configuration Editor to Customize Model Advisor
- Exclude Blocks from Model Advisor Check Analysis
- Justify Model Advisor Violations from Check Analysis
- Check Model Compliance Using Edit-Time Checking