Why drawnow ; is given after imshow in matlab?
Afficher commentaires plus anciens
Why drawnow ; is given after imshow in matlab?
Réponses (1)
Honglei Chen
le 14 Août 2015
0 votes
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.
1 commentaire
D Joseph
le 17 Août 2015
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!