Print

Print


Hi John
 
I have solved the problem. Thank you very much.
 
Best wishes
Shiliang

 
2008/2/7, John Ashburner <[log in to unmask]>:
> What is your "whereby the updates are not installed
> on top of the original distribution." mean? Should unpacked updates
> overwrite the unpacked SPM5?

Yes. You would unpack the original distribution, and then unpack the updates
so that the newer versions of the files overwrite the old ones. See this link
for more info (for Unix systems):
http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0712&L=SPM&P=R8197

Best regards,
-John

> 2008/2/7, John Ashburner <[log in to unmask]>:
> > This is the usual installation problem, whereby the updates are not
> > installed
> > on top of the original distribution.
> >
> > Best regards,
> > -John
> >
> > On Wednesday 06 February 2008 21:22, shiliang huang wrote:
> > > Hi every one
> > >
> > > I use MATLAB2007 ,SPM5 and FieldMap2.0 It gave follow wrong message
> > > when
> >
> > I
> >
> > > run FieldMap.How can I solve this problem? Thank you.
> > >
> > > Best wishes
> > > Shiliang
> > >
> > > >> FieldMap
> > >
> > > ??? Error using ==> feval
> > > Undefined function or method 'offset' for input arguments of type
> > > 'file_array'.
> > >
> > > Error in ==> file_array.subsasgn>asgn at 144
> > >     obj = feval(fun,obj,dat);
> > >
> > > Error in ==> file_array.subsasgn at 22
> > >         case 'offset',     obj = asgn(obj,@offset,   subs(2:end),dat);
> > > %offset(obj,dat);
> > >
> > > Error in ==> nifti.subsasgn>assigndat at 361
> > >         val.offset = max(sval.offset,0);
> > >
> > > Error in ==> nifti.subsasgn>fun at 76
> > >             obj      = assigndat(obj,val);
> > >
> > > Error in ==> nifti.subsasgn at 20
> > >         obji    = fun(obji,subs,val);
> > >
> > > Error in ==> spm_create_vol>create_vol at 79
> > > N.dat  = dat;
> > >
> > > Error in ==> spm_create_vol at 16
> > >         v = create_vol(V(i));
> > >
> > > Error in ==> spm_write_vol at 96
> > > V = spm_create_vol(V);
> > >
> > > Error in ==> FieldMap at 1706
> > >       img=spm_write_vol(img,vol);
> > >
> > > Error in ==> FieldMap at 1682
> > >
> > > FieldMap('Write',IP.vdmP,IP.vdm.vdm,'',IP.vdmP.dt(1),vdm_info);
> > >
> > > Error in ==> FieldMap at 711
> > >             FieldMap('FM2VDM',IP);
> > >
> > > ??? Error using ==> FieldMap('CreateFieldmap_Gui');
> > > Error using ==> feval
> > > Undefined function or method 'offset' for input arguments of type
> > > 'file_array'.
> > >
> > > ??? Error while evaluating uicontrol Callback