Hi

 

We run into an issue after updating matlab to a newer version 2011b. When trying to preprocess data I get an error message copy pasted below.

 

 

Error running job: Error using fileparts

> 

> Too many output arguments.

> 

> In file "/chb/users/nraschle/matlab/spm5/spm_realign.m" (v1030),

> function "prepend" at line 502.

> 

> In file "/chb/users/nraschle/matlab/spm5/spm_realign.m" (v1030),

> function "save_parameters" at line 489.

> 

> In file "/chb/users/nraschle/matlab/spm5/spm_realign.m" (v1030),

> function "spm_realign" at line 132.

> 

> In file "/chb/users/nraschle/matlab/spm5/spm_config_realign.m" (v751),

> function "estwrite_fun" at line 420.

 

 

It turns out that the API for fileparts changed. See the warning at: http://www.mathworks.com/help/techdoc/ref/fileparts.html

 

Fileparts now does not take a version number any more.

 

Does anybody else run into this issue? We did download the latest SPM5 updates from sourceforge.

 

Thank you so much

Nora