I run the checks as suggested in the following email, and confirmed it is
spm8: More specifically:
>> [v r] = spm('ver')
v =
SPM8
r =
3042
the return value of this check is less clear to me:
>> spm('ver','spm_cfg_fmri_spec.m')
ans =
2222
On Aug 13 2010, Darren Gitelman wrote:
>Hi Iwo and Rebecca:
>
>I could be wrong, but I think the problems you are reporting are unrelated
>and part of the confusion is that you are both describing issues with
>different versions of SPM.
>
> So as a first suggestion, I recommend that whenever anyone reports an
> error in SPM that the version and release of SPM should be included in
> the message. To do this type [v r] = spm('ver') at the matlab command
> line after starting SPM and then paste the result into the email message.
> You can also provide the version numbers of particular spm functions by
> typing spm('ver','spm_somefunction.m') where spm_somefunction.m is
> replaced with the actual name of the function.
>
>Rebecca:
> I'm guessing you are running SPM8 because spm_cfg_fmri_spec.m exists in
>SPM8 but not in SPM5.
> I ran the 'multicondr1.m' file you provided. First you should remove
> the spaces from the filename and change it to a .m file as suggested.
> Then run it in Matlab. This saves a mat file called partner1.mat. This is
> a perfectly appropriate multicondition MAT file and it is loaded
> correctly by SPM5 and SPM8. The file does not have parametric modulators
> in it so Iwo's suggestion is not relevant for you.
>
> Iwo: You are likely running SPM5 since spm_config_fmri_spec.m exists in
> SPM5 but not SPM8. The problem you report was discussed in a series of
> posts in Feb 2010. I at first also thought that the extra curly brackets
> were needed after cond.pmod(q).name, but what is probably happening to
> you is that you have an extra set of curly brackets around your cell
> arrays. Please see this post:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;5PA3Uw;201002032035400600and
> scroll down to where it says: Andrew Hebrank says...
>
>Regards,
>Darren
>
>On Fri, Aug 13, 2010 at 2:16 PM, Iwo Bohr <[log in to unmask]> wrote:
>
>> Hi Rebecca,
>>
>> In my version of spm8 the following statements:
>>
>> P(q1).name = cond.pmod(q).name;
>> P(q1).P = cond.pmod(q).param(:);
>> P(q1).h = cond.pmod(q).poly;
>>
>> In my case they start at line 214 and are under the heading:
>> % Parametric effects
>>
>>
>> Iwo
>>
>> On Aug 13 2010, Rebecca Halchuk wrote:
>>
>> Hi Iwo,
>>>
>>> I could only find a spm_cfg_fmri_spec.m file (in the config) folder -
>>> but my version does not have a line 880 or 885.
>>>
>>> I went through the code that was there, but didn't find what was refered
>>> to with respect to P(q1).name=... maybe they changed the code.
>>>
>>> Rebecca
>>>
>>>
>>>
>> --
>>
>> Iwo
>>
>
>
>
>
--
Iwo
|