Effacer les filtres
Effacer les filtres

Getting error to read images from a folder using for loop.

1 vue (au cours des 30 derniers jours)
Jhilam Mukherjee
Jhilam Mukherjee le 11 Mar 2015
I want to execute some algorithm by taking images simultaneously from a folder. I have used this code
list=dir('F:\myimages\*.jpg'); N=length(list)
for i=1:N
img{i} = imread(list(i).name);
figure,imshow(I{i})
end
I get following error
File "images.jpg" does not exist. error in img{i}= imread(list(i).name);

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by