Clear Filters
Clear Filters

How to import an avi-file?

38 views (last 30 days)
Emerson De Souza
Emerson De Souza on 8 Oct 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

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 8 Oct 2011
mov = aviread('125.avi')
so?
  1 Comment
Emerson De Souza
Emerson De Souza on 8 Oct 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?

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 8 Oct 2011

Products

Community Treasure Hunt

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

Start Hunting!