VideoReader not recognized in my MATLAB version

Hi everyone,
I am trying to make a video reader object as:
VidObj = VideoReader('Filename.ext');
But I receive the following error:
Undefined function or method 'VideoReader' for input arguments of type 'char'.
How can I solve this problem?
I am using MATLAB 7.10.0 (R2010a).
Thank you in advance.

 採用された回答

Chandra Kurniawan
Chandra Kurniawan 2012 年 1 月 11 日

0 投票

It seem your Matlab doesn't recognize command VideoReader.
How about use mmreader instead?

その他の回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 1 月 11 日

0 投票

VideoReader was introduced in R2010b
Image Analyst
Image Analyst 2012 年 1 月 11 日

0 投票

I'd recommend upgrading to the current version (R2011b or R2012a beta). You're at least 3 versions behind.

4 件のコメント

Shruti V S
Shruti V S 2016 年 4 月 2 日
mov=VideoReader(filename); is not working in Matlab version 2012 software. what to do? suggest me..
Shruti V S
Shruti V S 2016 年 4 月 2 日
i tried mmreader(), but this command also not working.
Walter Roberson
Walter Roberson 2016 年 4 月 2 日
Shruti V S, when you say that it is not working, what result are you observing? And what do you see for
which VideoReader
?
Image Analyst
Image Analyst 2016 年 4 月 2 日
What does it say when you try mmreader()? If I remember correctly, a predecessor to mmreader was avireader() but that only worked for avi files. Anyway, after 4 years, it's time to upgrade so that you can enjoy all of the latest capabilities.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by