Simulinkモデルウィンドウのサイズと位置を変更する方法はありますか?
11 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2011 年 4 月 1 日
編集済み: MathWorks Support Team
2016 年 6 月 10 日
Simulinkモデルウィンドウの位置と大きさを変更する方法を教えてください。
採用された回答
MathWorks Support Team
2016 年 6 月 10 日
'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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!