Hi everyone
I work on DTI images using matlab and FSL
i want to use eddy_correct on these images via matlab
i use the command "system" to run eddy_correct as in a terminal window
but i get this error :
/usr/local/fsl/bin/eddy_correct: line 92: fslroi: command not found
/usr/local/fsl/bin/eddy_correct: line 94: fslsplit: command not found
/usr/local/fsl/bin/eddy_correct: line 103: fslmerge: command not found
rm: ec_data_tmp???.*:No such file or directory
rm: ec_data_ref*: No such file or directory
Which is weird because when i run the same line in a terminal window, it works
According to the error, eddy_correct calls for other functions like fslroi, fslsplit and fslmerge that are not recognised
The thing that disturb me is that i do the same thing with topup and eddy and it works perfectly, (maybe they don't work the same way so i don't know if it is a matlab error or something else)
Does someone have an idea ?
Thanks in advance
Christophe
|