Azzera filtri
Azzera filtri

Matlab GUI runs extremely slowly

6 visualizzazioni (ultimi 30 giorni)
Catherine Davey
Catherine Davey il 6 Dic 2018
Hi. I've written a Matlab GUI, which was working really well before but has started to run extremely slowly. I've made changes to the gui by adding functions etc, but haven't changed the gui layout itself, and I can't think of any reason it should run slowly. Even just moving the cursor across the window is making the mac wheel of death come up. Pressing a button on the gui is a trial of patience. I've updated to Matlab 2018 but it hasn't helped. In fact it probably made it worse.
I've removed any window motion, window button, window scrolling callbacks. I've turned datacursormode off. I've turned the helper rendering off. I can't think of what else to do, but it's really making the gui unusable. I've written gui's before and never had this problem.
Any ideas?! Perhaps I should provide more info but I'm not entirely sure what would be useful. The gui has a few buttons, drop down lists and a figure window. When the user selects a drop down list, and then hits the run button, previously loaded data is processed in some way and the results shown on the axes.
Any help would be much appreciated,
Katie
  1 Commento
Catherine Davey
Catherine Davey il 6 Dic 2018
I should also mention that I've run the profiler, but it seems to report the results without including the wait time for the mac colour wheel. For example, I might sit there for 10-15 seconds waiting to be able to press a button, and when I run the profiler it says that the operation took 0.7 seconds. That's probably significant but I'm not sure how?!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su App Building in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by