Filter löschen
Filter löschen

in matlab 2014b uigetfile hangs

1 Ansicht (letzte 30 Tage)
Tommie Heard
Tommie Heard am 17 Dez. 2015
Bearbeitet: jgg am 17 Dez. 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 Kommentar
jgg
jgg am 17 Dez. 2015
Bearbeitet: jgg am 17 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by