Dear George,
a bit weird why this happens, but the attached version should hopefully work. Save it in spm12/toolbox/cat12
Best,
Christian
___________
Christian Gaser, Ph.D.
Associate Professor of Computational Neuroscience/Neuroimaging
Structural Brain Mapping Group
Departments of Psychiatry and Neurology
Jena University Hospital
Kastanienstraße 1, D-07747 Jena, Germany
Phone: ++49-3641-9325778
E-mail: [log in to unmask]
https://neuro-jena.github.io
On Fri, 24 Feb 2023 13:30:23 -0000, Georgios Tertikas <[log in to unmask]> wrote:
>
>
>Dear SPM community
>
>
>
>I seem to have an error with the utilisation of the ROI option in the CAT12
>toolbox and was wondering if you were able to provide any input.
>
>
>
>I am running a VBM analysis using the CAT12 toolbox in SPM (latest version
>for both). I am using the default options (with TIV ANCOVA correction and
>multiple regression) based on the installation guide and I am using a Ubuntu
>22.04 environment. After setting up the model and visualising the results I
>am trying to use the same SPM.mat file to run the ROI option. After
>selecting p value level, Neuromorphic atlas and Vgm I receive the error:
>
>
>
>Unable to perform assignment because the left and right sides have a
>different number of elements.
>
>
>
>Error in cat_stat_analyze_ROIs (line 402)
>
> Pcorr{3}(defined_measure) = p_tissue;
>
>
>
>Error in cat12>pushROIAnalysis_Callback (line 236)
>
>cat_stat_analyze_ROIs;
>
>
>
>Error in cat12>gui_mainfcn (line 1090)
>
> feval(varargin{:});
>
>
>
>Error in cat12 (line 118)
>
> gui_mainfcn(gui_State, varargin{:});
>
>
>
>Error in
>cat12>@(hObject,eventdata)cat12('pushROIAnalysis_Callback',hObject,eventdata
>,guidata(hObject)) (line 710)
>
>
>'Callback',@(hObject,eventdata)cat12('pushROIAnalysis_Callback',hObject,even
>tdata,guidata(hObject)),...
>
>
>
>Error while evaluating UIControl Callback.
>
>
>
>I have tried rerunning everything and this did not solve this issue.
>
>
>
>Any help would be greatly appreciated.
>
>
>
>George
>
>
|