MOVIEIN

 

 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 GETFRAMEGYVABD, 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);

      for j=1:n

         plot_command

         M(:,j) = getframe

      end

      movie(M)

 

 

  See also MOVIEFJIXXM, GETFRAMEGYVABD.