function [MM,SEP] = read_runrep(fname) fstr = file2str(fname); fstr = strrep(fstr,'--','#'); fstr = strrep(fstr,'#-','#'); ee = text2cell_adv(fstr,'','#'); ee = ee(2:end); MM = []; SEP = []; for i=1:length(ee) fstr = ee{i}; M = read_dfsa(fstr); [U,w] = read_uw(fstr); sep.U = U; sep.w = w; MM = [MM;M]; SEP = [SEP;sep]; fprintf('read %d of %d entries \n',length(MM),length(ee)); end return