Reading image files-batch
Show older comments
Hi,
I am trying to read image files from a folder (not Matlab working folder) but it does not work
Code: files = dir('C:\Users\ell\Desktop\segon\seg_array\Tv*.png') rgbl = imread('C:\Users\ell\Desktop\segn\seg_array\', files(1).name);
Can someone please tell me what is the problem.
Thanks
Accepted Answer
More Answers (1)
Rodrigo
on 23 Sep 2012
0 votes
second line should read: imread(strcat('C:\Users\ell\Desktop\segn\seg_array\', files(1).name));
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!