Could anyone help me deal with error in integrating Freesurfer with Surfstat ?
Because "MNI object" data was not available not like as written in the web documentation (http://www.math.mcgill.ca/keith/surfstat/), I used my own patient's MRI data with Freesurfer software. (CIVET software is also inaccessible to me.)
After Recon-all , I employed the files "lh.thickness and lh.pial " from "surf" folder as input. (As written in "VIEWING DATA" Section in the online document)
I ran the command : SurfStatReadSurf('/Users/zhau/Dropbox/subj7442103/surf/lh.thickness')
And the error : Unable to read /Users/zhau/Dropbox/subj7442103/surf/lh.thickness, magic = 16777215 Error in SurfStatReadSurf1 (line 20) if nargin<2
Output argument "surf" (and maybe others) not assigned during call to "/Applications/MATLAB_R2013a.app/toolbox/surfstat/SurfStatReadSurf1.m>SurfStatReadSurf1".
Error in SurfStatReadSurf (line 69) [s,ab]=SurfStatReadSurf1(filenames{1,j},ab,numfields1);
It seems I do not understand the structure of input file. How could I solve this?
Thanks in advance.
Kyoo Ho Cho