"Guide" window outside monitor's screen space
Mostra commenti meno recenti
Hello
MATLAB is placing the "guide" window (the gui editor) outside the visual space of my monitor and I'd like to know how to keep it from doing that. I've only had this happen with the "guide" window however it is possible it could happen with another at some point.
I'm sure this has something to do with how I use my Windows 7 system. I have two monitors that I use in "extended" mode at certain times. However, sometimes I just use one. The situation occurred I'm sure due to the fact I had the monitors in "dual" mode when I ran "guide" at some point using MATLAB. Now, however, when I'm in single monitor mode the "guide" window will end up showing up outside the confined space that I can't get mouse to nor can I see the window (obviously). I can't seem to get it to show up in the normal place when using a single monitor. Is there a file or registry setting I can adjust to correct this?
I hope I explained this clearly enough...it is a bit odd.
2 Commenti
John Mortensen
il 21 Dic 2016
benjamin chew
il 10 Ott 2019
I tried adjusting the scaling size under display setting, it should refocus all the applications onto the main screen. I hope it helps!
Risposta accettata
Più risposte (1)
Jan
il 20 Dic 2016
You can insert this in the CreateFcn:
movegui(FigureHandle, 'onscreen')
This move the figure to the visible area of the main monitor securely. This helps e.g. when the monitor resultion is changed.
It would be even smarter to move the figure to the nearest monitor in case of a multi-monitor setup. This can be done by FEX: WindowAPI(FigH, 'toScreen') unter Windows.
Categorie
Scopri di più su Environment and Settings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!