Variant Subsystem which only shows the ports of the currently active one
조회 수: 3 (최근 30일)
이전 댓글 표시
Dear helpers, I want to handle several variants of a subsystem (with different in and outports) within a Configurable- / Variant Subsystem block (maybe there are other kind of blocks I don't know?). The problem I have is, that they always show all in/out ports of all subsystem variants (the ones which aren't used are in a different color). Is there a way to hide those unused ports like the "Model Variants" block. The "Model Variants" block represents exactly what I want except the fact that I would have to save every variant-Subsystem into a seperate file.
댓글 수: 0
답변 (1개)
Dinesh
2024년 2월 1일
Hi Raphael.
I see the same behavior with "Variant Model" block as well.
Variant Subsystem or Variant Model have a superset of the ports of all the model or subsystem blocks inside them combined. On the top layer, you might see some other ports that are not present in the active choice because of this. But these other ports appear grayed out while the ports in the active choice are not. As of the latest release, you can right-click on the Variant Subsystem block, choose "Format > Port Labels > None" to hide all the port labels. But there is no option to hide the grayed out port labels alone. It wouldn't make much sense to have that option because the extra ports in the Variant subsystem will be present anyway.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!