Are the any problems use JPEG files in matlab ,I try type this code and get an error
imwrite(f,'filename.jpg','quality',25)
,after (reading matlabs help) that gives same answer I don't know what to do the same problem comes uo when I try use function imshow(f) where "f" is a file with extension of JPEG