in matlab 2014b uigetfile hangs

2 visualizaciones (últimos 30 días)
Tommie Heard
Tommie Heard el 17 de Dic. de 2015
Editada: jgg el 17 de Dic. de 2015
I am running Matlab Release 2014B. When I use uigetfile to open a file, it occasionally hangs up for no apparent reason. It appears to be a memory issue b/c if I close an application that is running, it then works ok.
  1 comentario
jgg
jgg el 17 de Dic. de 2015
Editada: jgg el 17 de Dic. de 2015
Try a couple things.
First, try profiling: profile on; filename = uigetfile; profile viewer. This should tell you which parts are running slow.
It could very well be a memory issue if the directory is large or networked it could be slow to load. You can check this by running a memory monitor like task manager on Windows and watching it while calling the function.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by