Signal merging : adapters do not show up in architecture views
35 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Loic
am 22 Jun. 2023
Beantwortet: Josh Kahn
am 28 Jun. 2023
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).
0 Kommentare
Akzeptierte Antwort
Josh Kahn
am 28 Jun. 2023
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu System Composer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!