What does this error mean?

1 Ansicht (letzte 30 Tage)
Febin Benjamin
Febin Benjamin am 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);

Akzeptierte Antwort

Wayne King
Wayne King am 6 Aug. 2013
Bearbeitet: Wayne King am 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.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by