Rewire From/Goto Blocks
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 (2024). Rewire From/Goto Blocks (https://www.mathworks.com/matlabcentral/fileexchange/28274-rewire-from-goto-blocks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.