Why do I get "Array indices must be positive integers or logical values" error when reading an image?
Afficher commentaires plus anciens
I keep getting this error but I don't know why. I just needed to upload an image on the script.

Réponses (1)
Jan
le 4 Oct 2022
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.
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!