How do you read .dat file that contains 5 .jpg images in it using textread?
Also, how do you output the filenames?
Best Answer
jpg images are binary images, but textread() is for reading text files.
Does the .dat file perhaps contain thenames of the images rather than the images themselves?
There is no standard format for .dat files: it is a suffix used by any program to hold any data. You need to know the internal structure of that particular .dat file in order to work with it. Itmight be pure text (most .dat files are not).
Best Answer