スクリプトでブロックの最前面と最背面を設定することは可能ですか?
显示 更早的评论
simulink上に配置したsubsystemブロックなどを右クリックしたときのメニューで、
ブロックを「最前面」「最背面」に移動することができますが、
同じことをスクリプトで処理することは可能でしょうか?
回答(1 个)
stozaki
2020-12-24
Yonasawa様
はい、可能です。
set_param(blockpath,BackgroundColor,'red');
ここで、blockpathはブロックパスまたは、ブロックハンドルを与えます。
stozaki
类别
在 帮助中心 和 File Exchange 中查找有关 サブシステム 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!