Rewire From/Goto Blocks

This script rewires all from/goto based connections in a given subsystem or a complete model.

You are now following this Submission

This script rewires all from/goto block connections. Therefore, it delete all from/goto blocks and draws regular lines between the relevant source and destination ports. The user can pass a subsystem or a complete model as an argument to specify the scope of work. Inport/Outports are created as needed when crossing subsystem boundaries.
This script is compatible with all MATLAB releases since R2006a until R2010a. The models used for testing have been created with R2007b and are included in the package.

Cite As

Thomas Maier-Komor (2026). Rewire From/Goto Blocks (https://www.mathworks.com/matlabcentral/fileexchange/28274-rewire-from-goto-blocks), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated license

1.0.0.0