Hi,
I'm trying to run GroupAna in Matlab 7.5 (R2007b) with a the afni_matlab tar file I downloaded yesterday but I get an error. I've previously successfully run the script with MATLAB R2007a and an older version of the tar file. So I tried using inputs from a text file I had save (which had worked) but still got the same error:
??? Undefined function or method 'grp2idx' for input arguments of type 'cell'.
Error in ==> PreProc at 66
[gij,gnj] = grp2idx(gj); % Create index vector from a grouping variable: gij is a vector
Error in ==> GroupAna at 1631
[err, Qd, s, termname, nterms, sindices, dfbothSS, modw, modwo, tnames, dfterm, dfe, Contr] =
PreProc(ntot, NF, group, varnames, FL, Contr, cov, unbalanced);
The function grp2idx doesn't seem to exist anywhere obvious ... Is that the problem or is it something I typed in?
Thanks,
Jen