Simulink mask port names

83 views (last 30 days)
Josh
Josh on 24 Sep 2019
Commented: Josh on 24 Sep 2019
I have a mask with several ports. Inside the mask I have assigned names to the ports. I want the mask to display the port name on it based on the name defined on the ports inside the mask.
I tried (right click --> format --> port labels --> from port block name) but nothing appears on the mask.
Thank you

Accepted Answer

thoughtGarden
thoughtGarden on 24 Sep 2019
Edited: thoughtGarden on 24 Sep 2019
Select Opaque with ports on the Icon transparency drop down in the Mask Editor on the Icon & Ports Tab.
This will take the names of the input port and outports under a mask and make them the names of the ports on the mask.

More Answers (0)

Categories

Find more on Author Block Masks 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!