new SPM5 release on 2011-12-14

This release of SPM5 fixes an issue with calls to Matlab function fileparts() in SPM5.

Starting with Matlab R2011b calling fileparts() with 4 output arguments results in an error instead of a warning. There were a few calls to call fileparts() with 4 output arguments in SPM5. This release addresses this potential compatibility issue between SPM5 and Matlab R2011b.

Instead of removing all occurrences of a 4th output argument to fileparts(), as suggested by the Matlab R2010a release notes, we changed all such occurrences from fileparts() to spm_fileparts() as suggested by the SPM maintainer at FIL.

The 4th argument is sometimes used in the SPM5 code to handle 4D volumes. The idea is that we take no risk and change fileparts() to spm_fileparts() everywhere and not only in those few places where it is really needed to handle 4D volumes.

Posted by Dimitri Papadopoulos 2011-12-14

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks