uigetfile DialogTitle does not show in file browser
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gary Jahns
el 26 de Oct. de 2015
Respondida: Simon Wanninger
el 19 de Dic. de 2019
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 comentarios
Wouter
el 20 de Oct. de 2016
I am running into the same problem on mac 10.11.6 with Matlab version 2016b. Does anybody have a workaround for this?
Respuesta aceptada
Más respuestas (5)
Gustavo Liñan
el 8 de Jul. de 2016
It's real nightmare when we, as matlab users, update to a new OSX version.
0 comentarios
Daniel Dolan
el 1 de Nov. de 2016
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.
- You can switch over to an alternative file selector, such as uipickfiles
- 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...
- You could edit the uigetfile function (or a renamed copy) to always call uigetfile_deprecated on Macs.
- 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...
0 comentarios
Nimrod
el 25 de Jun. de 2019
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
0 comentarios
Simon Wanninger
el 19 de Dic. de 2019
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
0 comentarios
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!