Mask port locations - can't move the port to top or bottom of mask (could easily drag them to convenient location before masking)

조회 수: 12 (최근 30일)
Hello,
After masking subsystem I can't move the ports to top/bottom of the block. This was very convenient to reduce clatter in the model. The only option for port locations is default left/right but before masking I could drag the ports wherever I wanted to. Is there a solution to this problem?
Thank you,
Ted

답변 (1개)

colordepth
colordepth 2025년 2월 17일
It seems that after masking a subsystem in MATLAB, one cannot move the ports to the top or bottom of the block. This feature is not currently available as of MATLAB R2024b. A potential workaround is discussed in this MATLAB Answers thread: https://www.mathworks.com/matlabcentral/answers/2020476-can-t-drag-subsystem-port-after-2023-update.
The workaround mentioned in the discussion seems to work. I tried checking the "Icon Editor" configuration of the mask, but I could not find a better workaround myself.

카테고리

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