The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file.
Author: David Foti
Andrea B. -
The mpgwrite.m file contains only help info. Your MATLAB is finding the .m file before it finds the mpgwrite mex file. You need to change your working directory or add the mex file directory to the MATLAB path before the directory which contains the mpgwrite.m file.
Adam H. -
Like the error message says, something is changing the size of your frames while they are being created. Use size() to check the dimensions of the frames in your A matrix.