I have created an avifile in MATLAB 7.0.1 (R14SP1) using the AVIFILE function shown in the code below:
mov = avifile('fn6.avi');figurelinemov = addframe(mov,gcf);pausemov = addframe(mov,gcf);mov = close(mov);
I create a plot and begin to add frames to the movie. If I move the figure around the window I will receive the following error even though the size of the figure has not changed.
Error using ==> avifile.addframe>ValidateFrameFrame must be 560 by 421.