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

9 次查看(过去 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