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:
- Returning to the MATLAB prompt
- A
pausestatement - A
waitforbuttonpressstatement - A
waitforstatement - A
getframestatement - A
figurestatement
Examples
as an M-file updates the current figure after executing the drawnow function and after executing the final statement.
No comments:
Post a Comment