Hi Martin,
 
thanks a lot for your help and the quick reply! It works now!
 
Best,
Franziska
 
Gesendet: Freitag, 21. November 2014 um 21:34 Uhr
Von: "Martin Reuter" <mreu...@nmr.mgh.harvard.edu>
An: "Freesurfer support list" <freesurfer@nmr.mgh.harvard.edu>
Betreff: Re: [Freesurfer] Linear Mixed Effects Models
Hi Franziska,

looks to me that for some reason it does not find the vec function which should be part of the package
under ..freesurferpath/matlab/vec.m

so maybe you just need to source FreeSurfer in the shell before you start matlab (from that same shell).

Best, Martin
 
On 11/21/2014 02:25 PM, franziska baier wrote:
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
 
 
 
 
 
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
 

-- 
Dr. Martin Reuter

Instructor in Neurology
  Harvard Medical School
Assistant in Neuroscience
  Dept. of Radiology, Massachusetts General Hospital
  Dept. of Neurology, Massachusetts General Hospital
Research Affiliate
  Computer Science and Artificial Intelligence Lab,
  Dept. of Electrical Engineering and Computer Science,
  Massachusetts Institute of Technology

A.A.Martinos Center for Biomedical Imaging
149 Thirteenth Street, Suite 2301
Charlestown, MA 02129

Phone: +1-617-724-5652
Email: 
   mreu...@nmr.mgh.harvard.edu
   reu...@mit.edu
Web  : http://reuter.mit.edu 
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to