Slow When Plotting on UIAxes

조회 수: 16 (최근 30일)
Ephraim Bryski
Ephraim Bryski 2020년 7월 21일
편집: Benjamin Kraus 2020년 11월 17일
Hi. I noticed that a MATLAB app made on app designer which plots directly on the UIAxes is much slower than one which plots on a separate figure (from up to a second delay to no noticeable delay at all). I was wondering why this might be the case, and if this is unavoidable, whether it's possible to embed the separate figure as well as the app into a website.

답변 (2개)

Pratheek Punchathody
Pratheek Punchathody 2020년 11월 16일
Please look into the answer provided by the staff in the Link.

Benjamin Kraus
Benjamin Kraus 2020년 11월 17일
편집: Benjamin Kraus 2020년 11월 17일
The figures created by App Designer are based around web technologies (like HTML and CSS) while the separate figures are based around Java technologies. Because of the different implementations, it is not unexpected that you may see some performance differences. However, the specific details depend a lot of the specifics of what you are plotting.
Can you provide more details about your app and what you are plotting? If not the actual data and code:
  • What release of MATLAB are you using? The specific version of MATLAB can be important in diagnosing performance issues.
  • What types of objects or graphics commands are you using?
  • Roughly how many data points are you using?
  • Do you know roughly how many graphics objects are you creating?
  • Have you tried profiling your code to see what is taking the longest?

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by