Filter löschen
Filter löschen

Why drawnow ; is given after imshow in matlab?

4 Ansichten (letzte 30 Tage)
D Joseph
D Joseph am 14 Aug. 2015
Kommentiert: D Joseph am 17 Aug. 2015
Why drawnow ; is given after imshow in matlab?

Antworten (1)

Honglei Chen
Honglei Chen am 14 Aug. 2015
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.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by