uigetfile DialogTitle does not show in file browser

조회 수: 4 (최근 30일)
Gary Jahns
Gary Jahns 2015년 10월 26일
답변: Simon Wanninger 2019년 12월 19일
I am running on Mac OS X 10.11 (El Capitan--the newest)and just upgraded to R2015b. I have old code that makes uigetfile calls, and it ran OK previously. Now the file browser comes up without the DialogTitle displayed--see screenshot of example using the exact call from the uigetfile documentation. I suspect there is a preference setting somewhere that needs to be reset, but I cannot find any such reference, or any other report of this problem. Any advice on solving this problem is appreciated.
  댓글 수: 5
Dan
Dan 2016년 3월 16일
Any more information on this?
Dan
Wouter
Wouter 2016년 10월 20일
I am running into the same problem on mac 10.11.6 with Matlab version 2016b. Does anybody have a workaround for this?

댓글을 달려면 로그인하십시오.

채택된 답변

Gary Jahns
Gary Jahns 2015년 10월 28일
MathWorks has acknowledged that this is a bug (Tech. Support Case #01573596).
  댓글 수: 1
Joan
Joan 2015년 12월 27일
Until they address this case#, has a workaround been found?

댓글을 달려면 로그인하십시오.

추가 답변 (5개)

Frederic
Frederic 2016년 4월 12일
I updated to R2016a but I have the same bug. Any help ? Frederic
  댓글 수: 1
Gary Jahns
Gary Jahns 2016년 4월 22일
My only suggestion is that everyone for whom this is a problem ping Mathworks, cite the case number (01573596), and ask when they expect to address it.

댓글을 달려면 로그인하십시오.


Gustavo Liñan
Gustavo Liñan 2016년 7월 8일
It's real nightmare when we, as matlab users, update to a new OSX version.

Daniel Dolan
Daniel Dolan 2016년 11월 1일
I recently encountered the problem and submitted a bug report. The response was the issue was an operating system problem, not a MATLAB problem, which means that there probably won't be an official fix. There are several possible workarounds.
  1. You can switch over to an alternative file selector, such as uipickfiles
  2. You could copy the private function uigetfile_deprecated (located in the uitools directory) to a convenient location on your machine. NOTE: this function may have dependencies...
  3. You could edit the uigetfile function (or a renamed copy) to always call uigetfile_deprecated on Macs.
  4. You could try using the undocumented "feature" command to use the old dialog style
feature('UseOldFileDialogs',1)
In the long term, option 1 is probably the best bet. Maybe someone can figure out what Apple did in the last release that drops dialog titles...

Nimrod
Nimrod 2019년 6월 25일
I do:
f = msgbox('Whatever I wanted to be writen in the title');
uiwait(f);
uigetfile(..)
This way the user has to acknoledge the title before selecting the file or dir

Simon Wanninger
Simon Wanninger 2019년 12월 19일
Hello,
same issues here. Since Catalina other filetypes are not selectable with uigetfile(), which is incredibly annoying. Unfortunately the bug persists in MATLAB2020a. There are other custom functions you can use as a workaround, e.g. uigetfile_with_preview().
Best,
Simon

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by