Print

Print


From the Mathwork web site

Note:   The fourth output argument of fileparts (file version) is no longer supported and has been removed. Calling the function with more than three output arguments generates an error.

Need an older version of matlab or do a string replace on fileparts


On Tue, Jan 28, 2014 at 3:13 PM, cristina scarpazza <[log in to unmask]> wrote:
Dear Experts,
I've previously used SPM on windows xp xcomputer. I've not a laptop with windows 8. I've installed matlab 2012 b and added SPM 8 in the matlab path. 
however, when I try to open it, it give me the following error:

Initialising SPM...Error using fileparts
Too many output arguments.

Error in cfg_util>local_initapps (line 1144)
    [p n e v] = fileparts(appcfgs{k});

Error in cfg_util (line 518)
        local_initapps;

Error in spm_jobman (line 148)
            cfg_util('initcfg'); % This must be the first call to
            cfg_util

Error in spm (line 343)
spm_jobman('initcfg');

have you got some suggestions?
thank you

best wishes

Cristina Scarpazza