File Exchange

image thumbnail

Wise Goto-Block

version (2.57 KB) by Markus Baranyai
automatically creates the corresponding from-Block with blockname and tagname.

1 Download

Updated 06 Apr 2006

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

When you change the blockname (not the tagname) of the goto-Block, the corresponding from-block will be automatically created. The name of the block will be copied in the tag-field. The from-block gets the same blockname and tagname too. Additionally the names of the blocks get the ending "Goto" and "From". The color of the source block will be adopted.

Cite As

Markus Baranyai (2021). Wise Goto-Block (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)


Amazing block! Really!

Furthermore, how did you create it? I would like a goto block that propagates a signal name.

Vivek Selvam

Lukas Lansky


thammu shetty

Very innovative!!!

Assuming that both GOTO and FROM block are inside a masked subsystem, can the callback function be modified so that it performs the following functions.

1. take the masked parameter from the block.
2. write the corresponding goto and from tags.

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!