addpath('/path/to/mincdiffusion/bin');
path_niak ='path/to/niak/niak-0.6.4.1/';
P = genpath(path_niak);
addpath(P);
