Dear Han Nguyen,
please make sure you have the latest set of updates installed - if you just
downloaded the spm5 archive, they are not included. In my updated copy
of SPM5,
line 1367 in spm.m reads completely different. If this does not help, try to
downgrade MATLAB to Release 14SP3 - there are so many incompatibilities
between
MATLAB releases that it is very difficult to cover all of them with the same
program code. R14SP3 is known to work with the latest set of SPM updates.
Volkmar
Zitat von Han Nguyen <[log in to unmask]>:
> I'm trying to run spm5 on Matlab R2006b. The path is set to the correct
> directory. However, when I type "spm" at the Matlab prompt, I get the
> following error message:
>
> ??? Operands to the || and && operators must be convertible to logical
> scalar values.
>
> Error in ==> spm at 1367
> if str2num(version('-release'))==14 && isdeployed,
>
> Error in ==> spm_defaults at 101
> defaults.segment.estimate.priors = char(...
>
> Error in ==> spm at 313
> spm_defaults;
>
> I looked through the archives and couldn't find anything. Can anyone help?
> Thanks.
>
|