Signal merging : adapters do not show up in architecture views
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Josh Kahn
le 28 Juin 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur System Composer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!