how to resolve this error..Index exceeds matrix dimensions. Error in Untitled (line 27) testIMG = imread(['test\' a(1).name]);

1 view (last 30 days)
.

Accepted Answer

Jan
Jan on 19 Jun 2018
Edited: Jan on 19 Jun 2018
The only indexing occurs in a(1) . If this exceed the limits already, a is empty. So check, how a is defined, e.g. using the debugger, to find out, why it is empty.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!