MATLAB: Unable to read image.JPG file

I am getting the error
Error using imread (line 349)
File "E:\GT\out_of_focus0016.JPG" does not exist.
How can i resolve this error. i have the image in the folder by this name. Actually the problem is, its reading the images having .jpg extension but giving error for images having .JPG (capital) extension. How can I resolve this. Please help.

Best Answer

Windows is not case-sensitive for file names. Matlab states clearly, that the file "E:\GT\image0016.JPG" does not exist. Therefore your opinion that this file is existing must be wrong. Therefore this error can be solved only by providing the correct file name.
[EDITED] Please post the output of:
FileList = dir('Proposed\*.jpg');
for k = 1:numel(FileList)
NameC = FileList(k).name;
NameD = uint16(NameC);
fprintf('\n%s:\n', NameC);
fprintf('%d ', NameD);
end