What does this error mean?

1 view (last 30 days)
Febin Benjamin
Febin Benjamin on 6 Aug 2013
??? Error using ==> mmreader.read at 80
INDEX must be a numeric scalar or 1x2 vector.
Error in ==> ImageStore at 49
current_Frame = read(mov, I1);

Accepted Answer

Wayne King
Wayne King on 6 Aug 2013
Edited: Wayne King on 6 Aug 2013
It looks like your I1 is not a scalar or a 1x2 vector. Can you set a breakpoint at line 49 in ImageStore and say what I1 is.
I1 should be a frame number, e.g. 1, 10
or I1 should be a vector like [1 10] which says to read frames 1 to 10
You can also specify Inf like [10 Inf] read frames 10 to the end of the video.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!