Dear sir/ms,
I am trying to run a script in matlab containing "read_avw" however, every time I try to run the script it gives me this error message:
sh: /etc/fslconf/fsl.sh: No such file or directory
??? Error using ==> fread
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> read_avw_hdr at 17
testval = fread(fid,1,'int32');
Error in ==> read_avw at 52
[dims,scales,bpp,endian,datatype]= read_avw_hdr(tmpname);
Error in ==> MDD_01a_oneg_ffx at 12
mask = read_avw([whereIsToolbox 'avg152T1_brain.nii.gz']);
I am running FSL on a MAC OS X 10.7.3. The path is set to '/usr/local/fsl/etc/matlab' but the script I am using is in a different folder/path. I have set the path in matlab to where my script is located and my script also has a line that adds a path to '/usr/local/fsl/etc/matlab'.
Do I need to put the matlab script in the same folder or set a path differently or is there a problem with FSL?
Thanks so much for your help!!
Amber
|