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
|