Programmatically filter ports in Architecture View

I am tying to programmatically create architecture views based on the value of a sterotype property.
When using the interactive view I can add a port filter; and successfully filter the ports in the view based on the value of the property.
Programmatically, I can successfully filter the Components in the view using the code below. However, I can not work out how to also filter the ports programmatically.
Any help appreciated.
Query = contains(PropertyValue("SysModelProfile.BaseStereotype.Feature"), 'Feature1');
model.createView('Feature1',...
Select=Query,...
);

 Risposta accettata

There is currently no public API for this but if you reach out to our Technical Support, we can get you a work-around.
Josh

Più risposte (0)

Categorie

Scopri di più su System Composer in Centro assistenza e File Exchange

Prodotti

Release

R2024b

Richiesto:

il 28 Gen 2025

Commentato:

il 30 Gen 2025

Community Treasure Hunt

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

Start Hunting!

Translated by