Getting error to read images from a folder using for loop.
2 views (last 30 days)
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);
0 Comments
Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis 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!