uigetfile window screen position

2 visualizzazioni (ultimi 30 giorni)
Ted deGuzman
Ted deGuzman il 9 Ott 2014
Risposto: Bruno Pop-Stefanov il 10 Ott 2014
I use multiple screens for my matlab GUI and I use the uigetfile function whenrevr I ask for a new file. The uigetfile window opens up in the default screen all the time. It is ok for a couple of files, but not if I have hundreds of files to go through. If my main GUI in the other screen, I have to switch screen to go to the uigetfile window.
I want the uigetfile window to pop up wherever my main GUI window is at.

Risposte (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov il 10 Ott 2014
What version of MATLAB do you use? What operating system?
I tried with MATLAB R2014b on Windows 7 with two monitors and the uigetfile dialog always opens where the main MATLAB window is. I also tried with a simple GUI created with GUIDE and the file dialog opens where the GUI is.
I attached the GUI to this post (untitled.fig and untitled.m). Can you try with it and tell me whether the uigetfile dialog opens on the same screen as the GUI?
Thanks.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by