Matlab to MPG

3 vues (au cours des 30 derniers jours)
Maddie
Maddie le 18 Mai 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 commentaire
Sean de Wolski
Sean de Wolski le 18 Mai 2011
I was hoping you knew a way to convert matlab codes to extra miles per gallon :)

Connectez-vous pour commenter.

Réponses (3)

Jason Ross
Jason Ross le 18 Mai 2011

Andy
Andy le 18 Mai 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 commentaires
Maddie
Maddie le 18 Mai 2011
Please see my comment below. I am unsure of this FEX submission
Andy
Andy le 18 Mai 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."

Connectez-vous pour commenter.


Maddie
Maddie le 18 Mai 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 commentaire
Jason Ross
Jason Ross le 18 Mai 2011
If you click the "Download All" button and download the .zip file it has the code and documentation.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by