Hi all,
I am trying to use prelude inside matlab but I get the following error:
ERROR:: Environment variable FSLOUTPUTTYPE is not set!
Please make sure that the appropriate configuration file is sourced by your
shell (e.g. by putting it in .profile).
e.g. bash or sh users add the line ". ${FSLDIR}/etc/fslconf/fsl.sh"
e.g. tcsh or csh users add the line "source ${FSLDIR}/etc/fslconf/fsl.csh"
I can successfully use prelude in terminal but within matlab it doesn't work.
I set the FSLDIR to /usr/local/fsl and source the fsl.sh successfully and
added the PATH to .bashrc. When I type echo $FSLOUTPUTTYPE in terminal it
also shows me NIFTI_GZ.
I read the posts of other members having similar problem but none of them
helped me. I don't have any clue what's happening.
Gopesh
|