Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Douglas N Greve
OK, so there is something going wrong with your unix environment inside of matlab (this is not a freesurfer problem per se). Is there someone around that you can ask about it? Can someone else try this last command to see if it works? There might be something wrong with the resource file of th

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Sarina Iwabuchi
set: Variable name must begin with a letter. gunzip: Command not found. ans = 1 On 30 Jul 2014, at 16:27, Douglas N Greve wrote: > > And in matlab, what do you get if you type > > unix('which gunzip') > > > > > On 07/30/2014 11:08 AM, Sarina Iwabuchi wrote: >> I get: >> >> /usr/bin/

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Douglas N Greve
And in matlab, what do you get if you type unix('which gunzip') On 07/30/2014 11:08 AM, Sarina Iwabuchi wrote: > I get: > > /usr/bin/gunzip > > On 30 Jul 2014, at 15:58, Douglas N Greve wrote: > >> >> Is gunzip in your path? When you open a shell and type >> which gunzip >> >> what is printed

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Sarina Iwabuchi
I get: /usr/bin/gunzip On 30 Jul 2014, at 15:58, Douglas N Greve wrote: > > Is gunzip in your path? When you open a shell and type > which gunzip > > what is printed out? > > > On 07/30/2014 10:45 AM, Sarina Iwabuchi wrote: >> Hi Bruce, >> >> It still shows the same error: >> >> set: Varia

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Douglas N Greve
Is gunzip in your path? When you open a shell and type which gunzip what is printed out? On 07/30/2014 10:45 AM, Sarina Iwabuchi wrote: > Hi Bruce, > > It still shows the same error: > > set: Variable name must begin with a letter. > gunzip: Command not found. > ERROR: problem reading fname > s

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Sarina Iwabuchi
Hi Bruce, It still shows the same error: set: Variable name must begin with a letter. gunzip: Command not found. ERROR: problem reading fname set: Variable name must begin with a letter. rm: Command not found. SWITCH expression must be a scalar or string constant. Error in load_mgh (line 158) sw

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Bruce Fischl
Hi Sarina, you need to have $FREESURFER_HOME/matlab in your matlab path. Try: addpath(sprintf('%s/matlab', getenv('FREESURFER_HOME'))) cheers Bruce On Wed, 30 Jul 2014, Sarina Iwabuchi wrote: Hi Doug, I get the following error: Undefined function 'MRIread' for input arguments of type 'cha

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-30 Thread Sarina Iwabuchi
Hi Doug, I get the following error: Undefined function 'MRIread' for input arguments of type 'char'. Sarina On 29 Jul 2014, at 18:34, Douglas N Greve wrote: > a = > MRIread('/Volumes/HD-PNTU3/MISSEDDATA/extn003/surf/tmp-mris_compute_lgi-lh.pial/lh.pial.filled.mgz'); Sarina Iwabuchi Division

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-29 Thread Douglas N Greve
Hmmm, I'm not sure what is going on either. The problem seems to be that the file is not getting unzipped (and so does not have anything to do with the switch statement per se). Sarina, try going into matlab and running a = MRIread('/Volumes/HD-PNTU3/MISSEDDATA/extn003/surf/tmp-mris_compute_l

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-29 Thread Marie Schaer
Hi Sarina, Thanks for the log, I see better the problem. However I unfortunately don't know the answer. The lGI calls MRIread and load_mgh, and the error seems to related to load_mgh.m itself. Bruce / Doug / Nick, any guess what can yield such a "switch expression must be a scalar or string c

Re: [Freesurfer] LocalGI error {Disarmed}

2014-07-29 Thread Sarina Iwabuchi
Hi Marie,I've attached the log file.Thanks very much,Sarina Iwabuchi This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do no