How to hide ports and lines with a defined stereotype in System Composer ?
5 views (last 30 days)
Show older comments
Hello,
I'm new to System Composer and I would like to hide Component/Ports/Lines which are not part of a defined Stereotype.
So, in Architecture Views, I create a specific view where I choose the following Filter : not a HIL component and not a HIL Port and not a HIL Connector (I guess it's the lines). Where the HIL, HIL Port and HIL Connector are defined Stereotypes for Component/Port/Connector.
With this, the rendered view does not show the components with the stereotype "HIL" (that's good) but it still shows the ports and the connectors that are transmitted to other components.
Is it possible to hide ports and the connections between them that have a defined stereotype ? If yes, how ? I'm not managing to do it with the filter option in Architecture Views.
Thank you !
0 Comments
Accepted Answer
Aimee Khan
on 18 Jun 2021
Edited: Aimee Khan
on 25 Jun 2024
Starting in R2021b, you can filter ports in addition to components in architecture views using names, stereotypes, and property values in the Architecture Views Gallery.
The View Configurations panel now has an option to filter by a component filter or a port filter. You can also select the Auto Apply check box to automatically apply filters.
0 Comments
More Answers (0)
See Also
Categories
Find more on System Composer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!