Effacer les filtres
Effacer les filtres

in matlab 2014b uigetfile hangs

1 vue (au cours des 30 derniers jours)
Tommie Heard
Tommie Heard le 17 Déc 2015
Modifié(e) : jgg le 17 Déc 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 commentaire
jgg
jgg le 17 Déc 2015
Modifié(e) : jgg le 17 Déc 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by