Dear Metehan,
> Hello
> I tried to realigne and unwarp functional scans of 1 subject (6 sessions). At first I saw some massages like this in matlab prompt " procedure terminated abnormally: Reference to non-existent field 'fname'. " but the analysis has gone further. Finally it stoped with the following massage.
> I would appreciate any help
> Metehan Cicek
>
> SPM2: spm_realign_ui (v2.10) 14:12:22 - 27/06/2003
> ========================================================================
> procedure terminated abnormally:
> Reference to non-existent field 'fname'.procedure terminated abnormally:
> Reference to non-existent field 'fname'.procedure terminated abnormally:
> Reference to non-existent field 'fname'.procedure terminated abnormally:
> Reference to non-existent field 'fname'.procedure terminated abnormally:
> Reference to non-existent field 'fname'.procedure terminated abnormally:
> Reference to non-existent field 'fname'.??? Reference to non-existent field 'beta'.
> Error in ==> /home/mete/spm2/spm_uw_apply.m
> On line 181 ==> def_array = zeros(prod(ds(s).P(1).dim(1:3)),size(ds(s).beta,2));
>
> Error in ==> /home/mete/spm2/spm_realign_ui.m (run_ui)
> On line 547 ==> spm_uw_apply(ads,uwr_flags);
>
> Error in ==> /home/mete/spm2/spm_realign_ui.m
> On line 320 ==> run_ui(defaults.realign, defaults.modality, defaults.unwarp);
>
> ??? Error while evaluating uicontrol Callback.
It isn't easy to pinpoint the problem from this, so I'll need your help. It seems that eithet the realignment or the "estimation of the field" failed for each session. My guess would be that the problem occurred when attempting to save the parameters. Still, to be sure I would ask you to do
the following.
1. Start matlab
2. Start SPM
3. Type
dbstop if all error
at the matlab prompt.
4. Wait till execution stops and the matlab prompt look like
K>>
instead of the ususal
>>
5. You will also see the line that caused the stop displayed. From that you will be able to make out the offending variable. For example in the error message above you can see that the offending variable is ds(s).beta (being the one that contains a .beta field). If your case the offending
variable will be the one that contains a .fname reference.
Just type the name of that variable (without the .fname bit) at the K>> prompt and cut and paste the resulting output into a mail to me.
6. Type
dbstack
and cut and paste the result into a mail to me.
There is no need to send that mail to everyone on the list (being of little interest).
Thanks in advance Jesper
|