in matlab 2014b uigetfile hangs

1 view (last 30 days)
Tommie Heard
Tommie Heard on 17 Dec 2015
Edited: jgg on 17 Dec 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 Comment
jgg
jgg on 17 Dec 2015
Edited: jgg on 17 Dec 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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!