Initialize memory for saving movie frames.
M = MOVIEIN(N) creates a matrix large enough to hold N frames
of a movie based on the current figure window. The matrix has
enough rows to store N copies of the output from GETFRAME , one
in each column. MOVIEIN is a simple M-file that contains the
single line: M = zeros(length(getframe),n).
Example: To generate a movie with n frames,
M = moviein(n);
M(:,j) = getframe
See also MOVIEFJIXXM, GETFRAME .