How did you unpack the distribution? If you used something like winzip you
must be careful. Older versions in particular required turning off the
"smart CR/LF" option - (configuration-> misc tab). Otherwise this will
corrupt binary files.
Occasionally I've found that when files are unpacked using gunzip in cygwin
that the permissions get set wrong. Check to make sure in windows explorer
that the security permissions on the file allow your user to execute the
*.dll file. (Right click file ->properties -> security). You may not be able
to see this if your explorer view is set to simple.
>From: SPM (Statistical Parametric Mapping)
>[mailto:[log in to unmask]] On Behalf Of Nivedita Raghunath
>Sent: Friday, September 08, 2006 9:50 AM
>To: [log in to unmask]
>Subject: Re: [SPM] New SPM5 installation
>I am a newbie to SPM and have run into problems again after
>installation. I have installed all the updates and am now
>trying to run the verbal fluency PET data example.
>I get the following error:
>SPM present working directory:
> C:\Program Files\MATLAB\R2006a\work
>Running "Factorial design specification"
>Mapping files :
>Calculating globals :
> 1/12 Error running job:
>Invalid MEX-file 'C:\Program
>Files\MATLAB\R2006a\spm5\spm_global.dll': Access is denied.
>It gives the same error on other mex files.
>What could be the problem ?
>Thanks in advance.
>On 9/5/06, Darren Gitelman <[log in to unmask] > wrote:
> This problem is caused by differences in the way Matlab
>reports its version
> number as of Release 2006a (a pox on The Mathworks). In
>any case this has
> been fixed. Please install all the updates. When you do
>you will have a
> function called spm_matlab_version_chk.m, and suitable
>modifications to any
> associated files. This fixes the problem
> >-----Original Message-----
> >From: SPM (Statistical Parametric Mapping)
> >[mailto:[log in to unmask] ] On Behalf Of Nivedita Raghunath
> >Sent: Tuesday, September 05, 2006 12:02 PM
> >To: [log in to unmask]
> >Subject: Re: [SPM] New SPM5 installation
> >Hi !
> >I am getting exactly the same error when I try to run spm after
> >??? 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
> >Any idea whats causing this ?
> >Thanks in advance