So apparently you solved yourother question? We don't know anything about what your files contain, what format they are or anything else. I don't know about other frequent contributors here, but I'm not a mind reader.
Have a readhere andhere. It will greatly improve your chances of getting an answer.
Here is a general idea. You can read the content of your file one by one, in afor loop, using eitherfileread(),textscan,tableread(),csvread() and several other function available in MATLAB. Which function to use depends on the content of your file. Then after reading one file, convert it to a desirable format and save it acell array.
files = dir('*.dat')
data = cell(1, length(files);
for i=1:length(files)
filename = files(i).name
% read filename using an appropriate function depending on your data.
data{i} = processedData; % here processed data obtained after reading the file.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.