Clear Filters
Clear Filters

How to hide ports and lines with a defined stereotype in System Composer ?

7 views (last 30 days)
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 !

Accepted Answer

Aimee Khan
Aimee Khan on 18 Jun 2021
Edited: Aimee Khan on 25 Jun 2024 at 14:07
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.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!