Signal merging : adapters do not show up in architecture views

18 visualizaciones (últimos 30 días)
Loic
Loic el 22 de Jun. de 2023
Respondida: Josh Kahn el 28 de Jun. de 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).

Respuesta aceptada

Josh Kahn
Josh Kahn el 28 de Jun. de 2023
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

Más respuestas (0)

Categorías

Más información sobre System Composer en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by