Why do I get "Array indices must be positive integers or logical values" error when reading an image?

Answers (1)

Did you define "imshow" as a variable?
whos imshow
which imshow -all
To clear it:
clear imshow
But it is strange, that the error message mentions imshow in line 109, while the displayed command is in line 111.
Please care for posting the code and the message exactly how they are existing.

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 4 Oct 2022

Answered:

Jan
on 4 Oct 2022

Community Treasure Hunt

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

Start Hunting!