Can Matlab determine the number of monitors?

19 ビュー (過去 30 日間)
jlt199
jlt199 2016 年 8 月 31 日
コメント済み: jlt199 2016 年 8 月 31 日
I am running Matlab from two different computers, one is connected to two monitors and the other to one.
I have set Matlab to open figures on the right hand monitor for one set up
figure('position',[1921 41 1920 963])
which means I can't see it when the code is run from the setup with one monitor. Is there a way to determine the number and size of the monitor(s) attached to the computer to determine where best to open figures?
Is there a way of changing the default of where Figures open so I don't have to change the position manually everytime I open one?
Many thanks

採用された回答

Steven Lord
Steven Lord 2016 年 8 月 31 日
Take a look at the MonitorPositions property of groot.
  1 件のコメント
jlt199
jlt199 2016 年 8 月 31 日
Thank you Steven

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by