MATLAB Function Reference
  Go to function:
    Search    Help Desk 
drawnow    Examples   See Also

Complete pending drawing events

Syntax

Description

drawnow flushes the event queue and updates the Figure window.

Remarks

Other events that cause MATLAB to flush the event queue and draw the Figure windows include:

Examples

Executing the statements,

as an M-file updates the current Figure after executing the drawnow function and after executing the final statement.

See Also

waitfor, pause, waitforbuttonpress



[ Previous | Help Desk | Next ]