Hi,
> Thanks Matthew, it's not longer crashing. Although from what I can seen in
> the stats_table script it should print out the table if there is data there
> (which there is).
>
> I'm not entirely sure what I should be asking it to print out to get the
> table you get when you do this manually for each subject/ roi and ideally
> save this as a text file.
I think this would be something like:
E = set_contrasts(E, xCon);
[rep_strs, marsS, marsD, changef] = stat_table(E, 1:length(xCon))
fid = fopen('test_file.txt');
for sno = 1:numel(rep_strs)
fprintf(fid, '%s\n', rep_strs{sno});
end
fclose(fid)
or to print to the screen, just
disp(char(rep_strs))
Best,
Matthew
|