特定の From ブロックから対応する Goto ブロックをコマンドで検索するにはどうすればよいですか?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 3 de Feb. de 2015
Respondida: MathWorks Support Team
el 3 de Feb. de 2015
特定の From ブロックから対応する Goto ブロックをコマンドで検索するにはどうすれば良いか、教えてください。
Respuesta aceptada
MathWorks Support Team
el 3 de Feb. de 2015
Simulink では、 Goto のソースダイアログを直接コマンドで取得することができません。
回避方法は、下記のコマンドを実行します。
tag = get_param('mymodel/From','gototag');
gotoblk = find_system('ex1','BlockType','Goto','GotoTag',tag);
上記コマンドは、'From' ブロックのタグの情報から、find_system 関数で情報を取得します。
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Signal Routing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!