R2019a GUIDE GUI plotting very slowly

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

Jan
Jan 2019년 4월 9일
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?
Its just a simple series of
axes(handles.axis1)
plot(signal...)
hold on
plot(signal2...)
...
plot(signaln...)
hold off
axes(handles.axis2)
plot(signalA...)
hold on
plot(signalB...)
hold off
etc etc
with a few scatters thrown in there
Im not doing anything more fancy than that
Andrew Reader
Andrew Reader 2019년 8월 28일
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
Geoff Hayes 2019년 8월 28일
Andrew - how are you doing the updates? Are you creating new graphic objects or just updating existing ones?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

질문:

HpW
2019년 4월 9일

댓글:

2019년 8월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by