Re: [Freesurfer] Error in load_mgh

2015-11-14 Thread Bruce Fischl
Hi Lars if you send me the .mgh file I'll try it out. Can you open it in freeview? Usually that error means the file doesn't exist (or isn't an mgh file) cheers Bruce On Sat, 14 Nov 2015, Lars M. Rimol wrote: > Hi, > > I have downloaded freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0 and >

[Freesurfer] Error in load_mgh

2015-11-14 Thread Lars M. Rimol
Hi, I have downloaded freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0 and running MATLAB R2015b I get an error message when trying to use load_mgh. Any tips? >> [test, M, mr_parms, volsz] = load_mgh('/.mgh'); ERROR: problem reading fname SWITCH expression must be a scalar or string constant.