Get movie frame.
GETFRAME returns a column vector with one movie frame. The
frame is a snapshot (pixmap) of the current axis. GETFRAME
is usually used in a FOR loop to assemble movie matrix M
for playback using MOVIE . For example:
M = moviein(n);
M(:,j) = getframe
It is important to preallocate movie matrix M before building the
movie in order to prevent excessive memory use. The function
MOVIEIN is available for this purpose.
GETFRAME(H) gets a frame from object H, where H is a handle
to the root, a figure, or an axis.
GETFRAME(H,RECT) specifies the rectangle to copy the bitmap
from, relative to the lower-left corner of object H and in
the units of its Units property.
See also MOVIEFJIXXM, MOVIEIN .