Redraw lines in simulink v1

This simple function redraws the lines in (the top level) simulink.

You are now following this Submission

For each block in the simulink diagram, it finds the inports. For each inport the function searches for the corresponding source port.

it deletes the line, then redraws it using either autorouting on or off.

Cite As

Thijs (2026). Redraw lines in simulink v1 (https://www.mathworks.com/matlabcentral/fileexchange/34237-redraw-lines-in-simulink-v1), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Simulink Manipulation Utilities

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0