Why drawnow ; is given after imshow in matlab?

답변 (1개)

Honglei Chen
Honglei Chen 2015년 8월 14일

0 개 추천

This is used to flush the graphic queue so you can see the change on screen. This is often used in animation so you can see the graph change during a loop. Otherwise, the program may accumulate the queue and flush it at the end of loop and you don't see the animation effect.

카테고리

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

태그

질문:

2015년 8월 14일

댓글:

2015년 8월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by