Hi Guillaume,
Thanks for your response and passing this along. The only possibility
would be that the VOI's causing the errorvia the results GUI with the
eigenvariate button and others were created with the matlabbatch VOI
utility. Is there a version of spm_dcm_voi that would also be robust to
these differences? I've been using SPM12 6225.
Thank you,
Drew
On 4/7/15 12:15 PM, "Guillaume Flandin" <[log in to unmask]> wrote:
>Hi Drew,
>
>yes, the order of the structures' fields do matter as well. Do you know
>what you might have done to your data files that could explain such a
>difference?
>Attached is a new version of SPM12's spm_dcm_specify_ui.m that should be
>more robust to differences in xY VOI.mat structures.
>
>Best regards,
>Guillaume.
>
>
>On 07/04/15 15:47, Sevel,Landrew S wrote:
>> In looking at this again, it looks like the order of the structures'
>> fields are somewhat different, could this be the cause of the problem?
>>
>> On 4/2/15 3:10 PM, "Guillaume Flandin" <[log in to unmask]> wrote:
>>
>>> Hi Drew,
>>>
>>> would it be possible that you created the VOI.mat files with different
>>> versions of SPM? To get a better feel of what is going on, look at the
>>> fields of the xY structure stored in VOI.mat files:
>>>>> load VOI_1.mat
>>>>> xY
>>>>> load VOI_2.mat
>>>>> xY
>>> If there is an extra field in some of the files, (let me know what that
>>> field is and) just remove it beforehand:
>>>>> xY = rmfield(xY,'extra_field');
>>>>> save VOI_x.mat xY -v6
>>>
>>> Best regards,
>>> Guillaume.
>>>
>>>
>>> On 02/04/15 18:46, Sevel,Landrew S wrote:
>>>> Hi all,
>>>>
>>>> I'm receiving an error in specifying individual DCMs from a generic
>>>> model for only certain subjects using spm_dcm_voi:
>>>>
>>>> Subscripted assignment between dissimilar structures.
>>>>
>>>> Error in spm_dcm_voi (line 53)
>>>> DCM.xY(i) = xY;
>>>>
>>>> Does anyone have any tips for fixing this?
>>>>
>>>> Thanks,
>>>>
>>>> Drew
>>>
>>> --
>>> Guillaume Flandin, PhD
>>> Wellcome Trust Centre for Neuroimaging
>>> University College London
>>> 12 Queen Square
>>> London WC1N 3BG
>
>--
>Guillaume Flandin, PhD
>Wellcome Trust Centre for Neuroimaging
>University College London
>12 Queen Square
>London WC1N 3BG
|