- Go to the ‘Modeling’ tab,
- Select ‘Environment’
- Disable the ‘Preserve Alignment’ option.
- You can re-enable it by selecting ‘Preserve Alignment’ again.
How can I override the bulk move / group move in Simulink?
20 views (last 30 days)
Show older comments
I've noticed sometimes in Simulink when I click on a block to move it, other aligned blocks highlight green and move with my primary block. Sometimes this behavior is helpful - sometimes it isn't. Is there a keyboard shortcut to override this behavior and ONLY move the selected block?
0 Comments
Accepted Answer
Soumya
on 28 Apr 2025
In Simulink, when you move, resize, or add a port to a block with three or more ports, any straight, unbranched signal lines connecting it to nearby blocks with one or two ports remain straight. Instead of bending the lines, Simulink moves the connected blocks as a group, highlighting affected blocks and lines in green. This helps maintain clean layout.
To temporarily override this grouped move behaviour and move only the selected block, Kindly, hold the Space bar while moving or resizing a block. This will allow you to move only the selected block, regardless of alignment. Once you release the Space bar, the default behaviour is restored.
To disable this functionality entirely across MATLAB sessions:
In the Simulink Editor,
For more details on keyboard shortcuts and alignment in Simulink, please refer to the following documentation:
I hope this helps!
More Answers (0)
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!