Hi,
I am from Frankfurt, Germany and I want to use Freesurfer and matlab for the analysis of my longitudinal brain structural data. I want to use linear mixed effects modelling, however, I receive an error message when I execute
[lhTh0,lhRe] = lme_mass_fit_EMinit(X,[1 2],Y,ni,lhcortex,3);
in matlab. The error message says:
Undefined function 'vec' for input arguments of type 'double'.
Error in lme_mass_fit_init (line 117)
vecD = vec(D);
Error in lme_mass_fit_EMinit (line 69)
[Theta1,Re1] = lme_mass_fit_init(X,Zcols,Y,ni,[],prs)
I have already replaced parfor by for. However, my Matlab version is from 2011.
It would be great if you could help me with that!
Thanks in advance,
Franziska