Getting error to read images from a folder using for loop.
Show older comments
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);
Answers (0)
Categories
Find more on Image Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!