Hi Cameron,
you can try the newest version of cat_surf_results that is attached.
Please check that your surface files are resampled using the same (and hopefully not too old) version of cat_surf_resamp.m if the attached function is still causing the same error.
Best,
Christian
On Tue, 1 Jan 2019 14:15:55 -0500, Cameron McKay <[log in to unmask]> wrote:
>Hi,
>
>I'm trying to extract cortical thickness values from a significant cluster
>from between-group F- and t-contrasts in CAT12 (with the latest version of
>SPM12). I'd like use mean cortical thickness within that cluster from each
>subject to perform some additional analyses. I tried following the steps
>used in the previous thread linked below, but got an error message when
>loading in the spmF and spmT contrasts.
>
>https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1802&L=spm&F=&S=&P=378788
>
>My error when using "Display Surface Results" was:
>
>Index in position 1 exceeds array bounds (must not exceed 64984).
>> Error in cat_surf_results (line 395)
>> H.S{1}.Y = Y(1:163842, :);
>> Error in cat_surf_results>select_data (line 1633)
>> cat_surf_results('disp', H.S{1}.name, H.S{2}.name);
>>
>> Error while evaluating DestroyedObject Callback.
>
>
>I checked in debug mode and noticed that Y is a 64984x1 double at line 395
>of cat_surf_results, so I'm not sure why I'm getting this error. Hopefully
>Christian or someone else has some insight into this!
>
>Thanks in advance!
>Cameron
>
|