Simulink.BlockDiagram.arrangeSystem
R2026bImprove layout of block diagram
Description
Simulink.BlockDiagram.arrangeSystem(
improves the layout of the specified block diagram by realigning, resizing, and moving
blocks and straightening signal lines.bd)
If the model is open when you run the function, in addition to improving the layout, the function also changes the zoom to fit the block diagram in the model window. If the model is loaded but not open, the function still improves the layout, but does not change the zoom.
Note
Running this function with any syntax changes the line handles.
Simulink.BlockDiagram.arrangeSystem(
specifies whether to apply the automated layout regardless of whether it improves on the
original layout.bd,FullLayout=tf)
Examples
Input Arguments
Version History
Introduced in R2018a