uigetfile window screen position

9 vues (au cours des 30 derniers jours)
Ted deGuzman
Ted deGuzman le 9 Oct 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.

Réponses (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov le 10 Oct 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.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by