Dear Karl and John,
Thanks very much for the advice... running spm_batch worked fine once I did
as you suggested. One more satisfied customer!
Muchas gracias,
Kath
----- Original Message -----
From: "Karl Friston" <[log in to unmask]>
To: "Kathryn Moores" <[log in to unmask]>
Cc: <[log in to unmask]>
Sent: Wednesday, December 11, 2002 11:23 PM
Subject: Re: SPM2b batch
> Dear Kath,
>
> That's interesting - it simply means that the global variable
> defaults has not been set. Just call spm and then invoke
> spm_batch.m
>
> I hope this works - Karl
>
>
>
> At 17:37 11/12/2002 +1030, you wrote:
> >Dear Dr. Karl et al.,
> >
> >I have followed your instructions to Kim and changed the spm_batch.m
slowly,
> >so far with some success. I am stuck though, and get an error message
during
> >spm_spm (see below).
> >
> >I do understand that it is difficult to guess what is wrong, but I
wondered
> >if you could maybe point me in the right direction to try and solve the
> >problem.
> >
> >Many many thanks,
> >Kath
> >
> >
> >Calculating globals : ...done
> >Saving SPM configuration : ...SPM.mat saved
> >Design reporting : ...done
> >
> >
> >
> >SPM2: spm_spm (v2.58) 17:22:21 - 11/12/2002
> >========================================================================
> >Initialising parameters : ...computing
> >??? Attempt to reference field of non-structure array 'defaults'.
> >
> >Error in ==> /usr/local/spm2b/spm_spm.m
> >On line 442 ==> MAXRES = defaults.stats.maxres;
> >
> >Error in ==> /home/pskam/matlab/spm_batch.m
> >On line 608 ==> SPM = spm_spm(SPM);
> >
> >
> >
> >----- Original Message -----
> >From: "Karl Friston" <[log in to unmask]>
> >To: <[log in to unmask]>
> >Sent: Tuesday, December 10, 2002 10:32 PM
> >Subject: Re: SPM2b - basic model estimation error
> >
> >
> >> Dear Kim,
> >>
> >> It is difficult to guess what has gone wrong from this error
> >> message. I suspect there has been a failure to specify the
> >> inputs or stimulus functions properly. You can check this by
> >> simply running the design specification with the spm_batch.m
> >> we sent out on the email (omitting the data specification and
> >> estimation calls (i.e. SPM.xY and spm_spm(.. ). Then change
> >> the original spm_batch.m slowly (to match the one you want)
> >> until you encounter the error.
> >>
> >> The missing field is the [sparse] stimulus function
> >>
> >> SPM.Sess(s).U(u).u
> >>
> >> that is built when you specify the onsets and durations of an
> >> experimental input.
> >>
> >> I hope this helps - Karl
> >>
> >
> >
>
>
|