I started my matlab from X terminal. The error message was gone, which is good.
But I dont manage to save NIFTI data sofar. I am keep trying now. I will let FSLers know once I am succesful.
Xuelin
----- Original Message -----
From: David Flitney <[log in to unmask]>
Date: Friday, July 27, 2007 5:32 am
Subject: Re: [FSL] FSLOUTPUTTYPE setting error
To: [log in to unmask]
>
> On 27 Jul 2007, at 10:49, Xuelin Cui wrote:
>
> > hi All:
> >
> > When I use matlab to save NIFTI data, the error showed on the
> > matlab command window: FSLOUTPUTTYPE is not set. I am using a Mac
>
> > G5, and I luanch my matlab from my application dock every time.
> And
> > I modified all the environment variables(${FSLDIR}) to the exact
> > path (/Users/xuelin/fsl ) where the FSL is installed in all those
>
> > matlab files (read_avw, save_avw, read_ave_hdr,
> save_avw_hdr.....etc.)>
> > I checked all the matlab files in FSL, and found the only
> location
> > contains FSLOUTPUTTYPE is save_avw_hdr(). I dont know what
> should
> > I do to tackle this problem. Should I reset the environment
> > variable of FSL? Or should I do something with matlab, like
> > starting it from the X terminal, or add some directories in
> matlab?
> > And, if so, how to do them?
> >
> > Thanks a lot
> >
> > Xuelin
>
> When you launch a program from the dock it does not read
> your .profile/.bash_profile/.bashrc so you need to run it from the
> terminal command line. There's a script in /Applications/MATLAB/bin
>
> called matlab which will do the right thing.
>
> --
> Cheers, Dave
>
> Dave Flitney, IT Manager
> Oxford Centre for Functional MRI of the Brain
> E:[log in to unmask] W:+44-1865-222713 F:+44-1865-222717
> URL: http://www.fmrib.ox.ac.uk/~flitney
>
>
>
|