Starting With Matlab R2011a calling fileparts() with four output
arguments is no longer supported and has been removed:
http://www.mathworks.fr/help/releases/R2011a/techdoc/ref/fileparts.html
Compare to the same documentation item for Matlab R2010a :
http://www.mathworks.fr/help/releases/R2010a/techdoc/ref/fileparts.html
It looks like almost all calls to fileparts() with four output
arguments have been replaced by calls to spm_fileparts() after
applying
WFU_PickAtlas_3.0.3_Update_for_Matlab_2011b.tgz. Somme occurrences seem to have been left behind.
$ grep fileparts */*/*.m | grep -e '\[[A-Za-z0-9 ]*,[A-Za-z0-9 ]*,[A-Za-z0-9 ]*,[A-Za-z0-9 ]*\]' | grep -v spm_fileparts
toolbox/wfu_pickatlas/wfu_extract_labels.m: [path,file,ext,ver] = fileparts(listname);
toolbox/wfu_pickatlas/wfu_pickatlas.m: [pathstr,name,ext,versn] = fileparts(outfilename);
toolbox/wfu_results/wfu_roi_table.m: [path,name,ext,v] = fileparts(flist(1,:));
toolbox/wfu_results/wfu_roi_table.m: [path,name,ext,v] = fileparts(flist(1,:));
toolbox/wfu_results/wfu_roi_table.m: [path,name,ext,v] = fileparts(deblank(P_list(i,:)));
toolbox/wfu_results/wfu_roi_table.m: [path,name,ext,v] = fileparts(deblank(P_list(i,:)));
toolbox/wfu_tbx_common/wfu_ROI.m:[pth,nm,xt,vr] = fileparts(deblank(PI));
$
Note that I haven't seen any runtime warning while using WFU_PickAtlas. I have merely been auditing the Matlab *.m files in our different SPM versions to prepare an upgrade from Matlab R2011a to R2011b.