Matlab to MPG

19 views (last 30 days)
Maddie
Maddie on 18 May 2011
I am looking to make a matlab movie into an mpg. There used to be a function called mpgwrite for older versions of Matlab, but I have the newest student version and this function doesn't exist. Any help would be great!!
Thank you!
  1 Comment
Sean de Wolski
Sean de Wolski on 18 May 2011
I was hoping you knew a way to convert matlab codes to extra miles per gallon :)

Sign in to comment.

Answers (3)

Jason Ross
Jason Ross on 18 May 2011

Andy
Andy on 18 May 2011
Are you sure mpgwrite was a MATLAB function, and not this FEX submission of the same name? And if they are different, have you tried the FEX submission to see if it works on your new updated version of MATLAB?
  2 Comments
Maddie
Maddie on 18 May 2011
Please see my comment below. I am unsure of this FEX submission
Andy
Andy on 18 May 2011
First, please do not add new 'answers' to comment on other answers. Second, if you download the files, the README file says:
"The MPEG converter is a MATLAB mex file which can be built using the
included Makefile by calling make at the unix prompt. An ANSI C
compiler is required. Makefile can be modified if necessary to specify
an ANSI compiler. The resulting mex file can be invoked by calling
"mpgwrite" from the MATLAB command line.
On the PC, run the makedll m-file from within MATLAB.
Both Makefile and makedll.m can be found in the src subdirectory along
with the source code."

Sign in to comment.


Maddie
Maddie on 18 May 2011
I don't exactly understand the two web links above. This isn't code, it is just comments in a script file. Is there a place to see the code?
  1 Comment
Jason Ross
Jason Ross on 18 May 2011
If you click the "Download All" button and download the .zip file it has the code and documentation.

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!