![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239559/image.png)
Simulink mask port names
조회 수: 40 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239559/image.png)
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 Center 및 File Exchange에서 Author Block Masks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!