How to avoid delay in plotting while using app designer?
3 次查看(过去 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?
0 个评论
回答(1 个)
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 Center 和 File 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!