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

10 views (last 30 days)
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

Answers (1)

colordepth
colordepth on 17 Feb 2025
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.

Categories

Find more on Author Block Masks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!