It's having problems reading the 2nd column of the 1st row (ie, [1][2]]). Does your age.mat file have commas in it? If so remove them and try again.

doug

Wang, Xin wrote:
Hello, Group
I have a question about mri_glmfit. I can not run this commend on my data.
An error
"MatrixReadTxT: could not scan value [1] [2]
file exists
ERROR: loading C age.mat" 
appeared. 
I do not know what is wrong. 
The only warning I saw is "ERROR: cound not find volume $SUBJECTS_DIR/average/surf/../mri/orig. Does it exist?" when I ran mri_surf2surf.  
 
I am doing group comparison of cortical thickness on 2X2 data. The following is my fsgd.txt
 and *.mat.
 

GroupDescriptorFile 1

Title thick vs group

Class group1

Class group2

Variables age

Input APL02R700 group1 48

Input APN02G650 group1 35

Input APN02G700 group2 35

Input APN03L700 group2 30

DefaultVariable age

age.mat: -1, 1, 0

If anyone know what is wrong in my analysis, please help.

Thank you in advance,

 

Xin


_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting