Until we release the next set of updates, I would suggest modifying line 189
of c:\documents and settings\george\desktop\spm5_last\spm5b\spm_normalise.m ,
so that it says:
any(fov<15*flags.smosrc/2 & VF1(1).dim(1:3)<15),
instead of
any(fov<15*flags.smosrc/2 && VF1(1).dim(1:3)<15),
Best regards,
-John
On Thursday 22 September 2005 18:22, G. Christopoulos wrote:
> Dear SPMers, I am trying to use SPM5b and came across the same problem in
> normalisation that another user (Carles Falcon) had. Any help? The error
> message follows George -------------------------- Running "Normalise:
> Estimate & Write" Smoothing by 0 & 8mm.. Coarse Affine Registration.. Fine
> Affine Registration.. ??? Operands to the || and && operators must be
> convertible to logical scalar values.
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_normalise.m On line 189 ==> if
> any(fov<15*flags.smosrc/2 && VF1(1).dim(1:3)<15),
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_config_norm.m (estwrite) On
> line 506 ==> spm_normalise(strvcat(job.eoptions.template{:}),...
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_jobman.m (run_struct1) On line
> 1372 ==> feval(prog,val);
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_jobman.m (run_struct1) On line
> 1380 ==> run_struct1(c.val{i});
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_jobman.m (run_struct1) On line
> 1380 ==> run_struct1(c.val{i});
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_jobman.m (run_struct1) On line
> 1380 ==> run_struct1(c.val{i});
>
> Error in ==> c:\documents and
> settings\george\desktop\spm5_last\spm5b\spm_jobman.m (run_struct) On line
> 1339 ==> run_struct1(c);
>
> ??? Error while evaluating uicontrol Callback.
> Date: Fri, 2 Sep 2005 19:02:56 +0200
> Reply-To: "CARLES M. FALCON FALCON" <[log in to unmask]>
> Sender: "SPM (Statistical Parametric Mapping)" <[log in to unmask]>
> From: "CARLES M. FALCON FALCON" <[log in to unmask]>
> Subject: Error in spm5b normalization
> In-Reply-To: <[log in to unmask]>
> Content-type: text/plain; charset=ISO-8859-1
>
> Hi, I've just download SPM5b to try to normalize some T1 estructural images
> that were wrongly normalized with SPM2. I've got the following error
> message running normalize: -------------------------- Running "Normalise:
> Estimate & Write" Smoothing by 0 & 8mm.. Coarse Affine Registration.. Fine
> Affine Registration.. ??? Operands to the || and && operators must be
> convertible to logical scalar values. Error in ==> e:\spm5b\spm_normalise.m
> On line 189 ==> if any(fov<15*flags.smosrc/2 && VF1(1).dim(1:3)<15), Error
> in ==> e:\spm5b\spm_config_norm.m (estwrite) On line 506 ==>
> spm_normalise(strvcat(job.eoptions.template{:}),... Error in ==>
> e:\spm5b\spm_jobman.m (run_struct1) On line 1372 ==> feval(prog,val); Error
> in ==> e:\spm5b\spm_jobman.m (run_struct1) On line 1380 ==>
> run_struct1(c.val{i}); Error in ==> e:\spm5b\spm_jobman.m (run_struct1) On
> line 1380 ==> run_struct1(c.val{i}); Error in ==> e:\spm5b\spm_jobman.m
> (run_struct1) On line 1380 ==> run_struct1(c.val{i}); Error in ==>
> e:\spm5b\spm_jobman.m (run_struct) On line 1339 ==> run_struct1(c); ???
> Error while evaluating uicontrol Callback. I am using Matlab 6.5 on a
> windows 2000 PC and I have included all the updates on the spm5b directory.
> Any idea what is happening? Many thanks!! Yours Carles Falcon
> IDIBAPS-Hospital Clinic de Barcelona University of Barcelona (Spain)
> ------------------------------------------------- This mail sent through
> IMP: http://horde.org/imp/
>
> Back to: Top of message | Previous page | Main SPM page
|