How to import an avi-file?

29 visualizzazioni (ultimi 30 giorni)
Emerson De Souza
Emerson De Souza il 8 Ott 2011
I want to import an avi-file. I used the command line:
mov = aviread(filename)
as suggested in the Matlab documentation. However, I obtain the error message:
??? mov = aviread(125.avi) | Error: Unexpected MATLAB expression.
So I wounder if someone could tell me what I'm doing wrong and how to correct this procedure.
Thank you in advance for your help Emerson

Risposta accettata

Andrei Bobrov
Andrei Bobrov il 8 Ott 2011
mov = aviread('125.avi')
so?
  1 Commento
Emerson De Souza
Emerson De Souza il 8 Ott 2011
Yes, the problem was the missing ''.
I wrote as you advised and got no more error.
My following question is: How do I extract all images of this video and save them as bmp-file?

Accedi per commentare.

Più risposte (1)

Walter Roberson
Walter Roberson il 8 Ott 2011

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by