Simulinkモデルウィンドウのサイズと位置を変更する方法はありますか?
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 1 Apr 2011
Edited: MathWorks Support Team
on 10 Jun 2016
Simulinkモデルウィンドウの位置と大きさを変更する方法を教えてください。
Accepted Answer
MathWorks Support Team
on 10 Jun 2016
'location'プロパティを使って変更します。
open_system('vdp');
set_param(gcs,'location',[47 100 1015 633]);
'location'プロパティの引数の書式は
[X位置, Y位置, X方向サイズ, Y方向サイズ]
です。
また、Simulinkウィンドウのデフォルトサイズを変更する場合は、以下になります。
set_param(0,'location',[47 100 1015 633]);
※'location'は内部使用プロパティであり、将来は仕様が変更される可能性があります。
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!