Simulink mask port names

76 次查看(过去 30 天)
Josh
Josh 2019-9-24
评论: Josh 2019-9-24
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

采纳的回答

thoughtGarden
thoughtGarden 2019-9-24
编辑:thoughtGarden 2019-9-24
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by