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
|