% possibly adapt patterns to select specific files! fqfiles = findfiles(pwd, '*fq*mat'); for i = 1:length(fqfiles), clear q; %clear out any residual q structures. load(fqfiles{i}); %loads next structure fmriqasheet(q); %brings up the quality sheet getchar; %waits for keypress in the command window before bringing up next one end