How to query whether event queue has been flushed
조회 수: 3 (최근 30일)
이전 댓글 표시
I've got a callback function that's called Post-Set to the axes X-lim property. The Xlim is changed by everything, including title and xlabel, so I want this callback function only be active after everything is displayed (ie if the event queue has been flushed). Basically, I've got an if at the start of the callback function, and i need it to query whether matlab has displayed the plot and is just waiting, or is still running. It's just a boolean, and it should be somewhere, but I can't fine the damn thing!
Any ideas?
Thanks,
-Peter
댓글 수: 1
Jimy Shah
2011년 2월 12일
DRAWNOW does not help? It should technically flush the event queue. If that's not helpful, can you send some example code demonstrating your issue?
답변 (2개)
Walter Roberson
2011년 2월 12일
You might be able to get somewhere by examining the output of dbstack
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!