How to avoid delay in plotting while using app designer?

7 次查看(过去 30 天)
When plotting on a UIAxes using appdesigner , I'm getting some significant delay. Is there any option to plot in appdesigner with out getting delay?

回答(1 个)

Image Analyst
Image Analyst 2022-1-4
You could try putting
drawnow;
whenever you want to update a plot. For example if you're in an intensive loop that plots stuff, it might not get around to plotting things on every iteration and just wait until the loop is all done. To force it to repaint/refresh the screen immediately you can put drawnow at the bottom of the loop.
  3 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by