in matlab 2014b uigetfile hangs

1 次查看(过去 30 天)
Tommie Heard
Tommie Heard 2015-12-17
编辑: jgg 2015-12-17
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 个评论
jgg
jgg 2015-12-17
编辑:jgg 2015-12-17
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by