Simulinkモデ​ルウィンドウのサイズ​と位置を変更する方法​はありますか?

Simulinkモデルウィンドウの位置と大きさを変更する方法を教えてください。

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 10 de Jun. de 2016

0 votos

'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'は内部使用プロパティであり、将来は仕様が変更される可能性があります。
 

Más respuestas (0)

Categorías

Más información sobre Simulink 環境の基礎 en Centro de ayuda y File Exchange.

Productos

Versión

R2009a

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!