MATLAB Answers

Maddie
0

Matlab to MPG

Asked by 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

I was hoping you knew a way to convert matlab codes to extra miles per gallon :)

Sign in to comment.

3 Answers

Answer by Jason Ross
on 18 May 2011

  0 Comments

Sign in to comment.


Andy
Answer by 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
on 18 May 2011
Please see my comment below. I am unsure of this FEX submission
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.


Answer by 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
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.