uigetfile window screen position

7 ビュー (過去 30 日間)
Ted deGuzman
Ted deGuzman 2014 年 10 月 9 日
回答済み: Bruno Pop-Stefanov 2014 年 10 月 10 日
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.

回答 (1 件)

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2014 年 10 月 10 日
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.

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by