MATLAB Answers

uigetfile window screen position

5 views (last 30 days)
Ted deGuzman
Ted deGuzman on 9 Oct 2014
Answered: Bruno Pop-Stefanov on 10 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.

  0 Comments

Sign in to comment.

Answers (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov on 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.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products