Simulink では、 Goto のソースダイアログを直接コマンドで取得することができません。
回避方法は、下記のコマンドを実行します。
tag = get_param('mymodel/From','gototag');
gotoblk = find_system('ex1','BlockType','Goto','GotoTag',tag);
上記コマンドは、'From' ブロックのタグの情報から、find_system 関数で情報を取得します。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!