New figure always appears off the screen!

137 ビュー (過去 30 日間)
Patrick Schuster
Patrick Schuster 2014 年 1 月 9 日
回答済み: Jan 2015 年 5 月 5 日
When I open an new figure with
figure();
the figure is displayed out of the screen! This only happens when there are 2 monitors connected.
I tried to solve the problem with
set(0,'defaultfigureposition',[x y w h]')
but this only lasts for the current session. This didnt happen with my last installation of the same MATLAB version.
Is there a file or something in installation-path where I can fix this?
Regards Patrick

回答 (1 件)

Jan
Jan 2015 年 5 月 5 日
You can insert the definition of the 'defaultfigureposition' in the files matlabrc.m or startup.m . Then it is applied every time Matlab is started. I assume you find the wrong definition in matlabrc and could fix it there also.

カテゴリ

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