필터 지우기
필터 지우기

Signal merging : adapters do not show up in architecture views

조회 수: 16 (최근 30일)
Loic
Loic 2023년 6월 22일
답변: Josh Kahn 2023년 6월 28일
Hello,
I am working in System Composer, and I am investigating signal merging and un-merging, for the sake of clarity. I have multiple flows crossing multiple component layers, and to simplify the model, I decided to use Adapters to merge multiple signals into one, and un-merging said signal when necessary.
Using interfaces, I could indeed correlate the input with the right outputs (when un-merging). For the component model, this works well.
My problem comes when using architecture views. Those adapters do not show up in views, neither the mergers nor the un-mergers do. Plus, the flows connecting to those adapters do not show up either, meaning that many flows disappear when using architecture views, and only the ports appear (upon application of the right filters).
I would like to know how to solve this issue, and more generally if the problem comes from my way of simplifying my entire model (using adapters to merge / un-merge flows).

채택된 답변

Josh Kahn
Josh Kahn 2023년 6월 28일
Hi @Loic,
I am assuming that you are filtering on an applied stereotype and that is making your adapters disappear. One way to get them back is to add an OR condition to your component filter:
You can also use dot notation instead of adapters to merge/unmerge signals if that's easier and then you can put stereotypes on those components:
You can also skip the need for adapters to unmerge by using dot notation to select the element from the architecture port:
Hope this gets you unstuck. Feel free to reach out if you run into any other issues.
Josh

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by