Hello,
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(), except maybe toolbox/FieldMap/Unwarp_batch.m:
$ 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/FieldMap/Unwarp_batch.m: [path,name,ext,ver] = fileparts(P{i}{j}(1,:));
$
Note that I haven't seen any runtime warning while using SPM8 with Matlab R2011a. I have merely been auditing the Matlab *.m files in our different SPM versions to prepare an upgrade from Matlab R2011a to RO11b. I thought it might be useful to report this for SPM8.
Regards,
--
Dimitri Papadopoulos
|