aLRIGHT. So I'm writing a program to do some basic DNA binding analysis in MATLAB and I'm importing the data from several files. Now here's the problem: the files aren't just matricies of data, but contain about eight lines of other information at the top of the file (which are text files). Of course, this means that the number of columns is not uniform throughout the ENTIRE file, so the load function doesn't work. I'd like to be able to upload the data without creating new files minus the header data (also, it'd be nice if it could autoimport some of the data in the header into another vector). The PI of the group I'm doing this for said he had a function which could do this, but I can't make heads or tails of it and his notes are pretty much as cryptic as his script. I think this is the appropriate code: dir = pwd; 'C:\matlab\DNA_dye_project\rhodamine' dir = dir dir = strcat(dir,'\Data-Aug09\') num_files = 26; % x_axis = linspace(200,800,301)'; %change this if changing limits on UV-VIS DS = ; for k = 1:num_files % columns str=num2str(k); name=['dna89' str '.wav']; fn =[ dir name]; [ds ]= get_UV_data(fn); % x_axis = ds,1); %data_uncorrected = [x_axis ds]; %data_corrected = AutoBaseLine(data_uncorrected,2); %ds = data_corrected,2); DS = [DS ds,2)]; end But I don't know what the #$%#. Any help would be greatly appreciated.