Talk:SPM/Installation on Windows

Anyone understands why I'm getting these errors?

>> spm fmri ??? Operands to the || and && operators must be convertible to logical scalar values.

Error in ==> spm>local_clc at 1875 if str2num(version('-release'))~=14 || ~isdeployed,

Error in ==> spm at 462 local_clc, spm('SetCmdWinLabel')

>> spm ??? 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'm running Matlab, R2006a/b (windows)

quick hack:

on lines, 1367 1875

change: if str2num(version('-release'))~=14 || ~isdeployed, to: if ~isdeployed,


 * The command "version -release" return "2006b", but "2006b" is a string, not a number. Your quick hack is OK. --Stanislav Kozlovsky 22:33, 4 January 2007 (UTC)