R2019a GUIDE GUI plotting very slowly
Mostra commenti meno recenti
Hi. I recently upgraded from R2017a to R2019a. I have a GUI that has about 10 axes on it that should update all at the same time once data is loaded in. In R2017a all of the axes update simulataneously and quickly after the data is loaded. In R2019a, however, there is a dramatic slowdown in GUI display speed. The 10 axes are now loading sequentially to the point where it is very noticable (probably takes 0.25 second between each axes plot data appearing), and any updates to the axes, which previously were also instataneous, are resulting in the figure breifly disappearing and then reappearing. Im using an older computer, but its the same computer that was running R2017a perfectly fine. Im happy to help provide code if needed, but Im not sure it will be helpful in this situation. Any idea on what to do? Is R2019a just more ersource intensive? It tried adjusting the opengl settings (opengl software, opengl hardware) without any change. I also increased the java RAM without any improvement. Any thoughts would be appreciated.
thx!
4 Commenti
Jan
il 9 Apr 2019
A year ago I've compared R2016b on a i7 with a Matlab 6.5 in a virtual machine with single core WinXP/32. The emulated ancient machine won most of the run time comparisons massively. The main difference is the extremely slow Java graphics. There is a substantial slow down between R2009a and R2018a also.
Although the runtime is slower, the total required time for solving a problem is shorter, because the moden tools for debugging are more powerful. Sometimes the JIT and the multi-threading can accelerate some code.
How do you call drawnow?
HpW
il 9 Apr 2019
Andrew Reader
il 28 Ago 2019
I have a similar problem. Updating to Matlab 2019 from Matlab 2015 means my figure plots are much slower (typically plotting 6 - 12 images in a single figure, with rapid updates of each figure).
Tried the Java heap memory increase - did not help.
Tried also to use disableDefaultInteractivity - did not help.
My only option for now is to revert back to Matlab 2015 for fast graphical updates of axes / images.
Geoff Hayes
il 28 Ago 2019
Andrew - how are you doing the updates? Are you creating new graphic objects or just updating existing ones?
Risposte (0)
Categorie
Scopri di più su Graphics Performance in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!