I have 13 JPEG images but when i am reading them with a code
I=dir('C:\Users\Vaio\Desktop\new\*.jpg');
for i=1:length(I)
filename=strcat('C:\Users\Vaio\Desktop\new\*.jpg',I(i).name);
I2=imread(filename);
end
it is showing following error why? Error using imread (line 372) File "C:\Users\Vaio\Desktop\new\*.jpga.jpg" does not exist.
Best Answer