Dear João,
sorry that it took so long, but I couldn’t replicate that error which males search quite difficult. Anyway, it should work now hopefully. Please try the attached version and replace the old file in toolbox/cat12.
Best,
Christian
On Wed, 23 Mar 2022 18:59:09 +0000, João Duarte <[log in to unmask]> wrote:
>Dear Christian,
>
>Were you able to check this issue?
>I would very much appreciate any help.
>
>Best,
>João
>
>João Duarte <[log in to unmask]> escreveu no dia quinta, 20/01/2022 à(s)
>10:08:
>
>> Dear Christian,
>>
>> Here is the output of "whos" just before line 392.
>> Can you spot something wrong?
>>
>> Thanks!
>> Best,
>> João
>>
>> Name Size Bytes Class Attributes
>>
>> Beta 6x72 3456 double
>> HBcorr 1x72 576 double
>> Ic 1x1 8 double
>> P 80x1 29280 cell
>> Pcorr 1x3 2256 cell
>> Psort0 72x1 576 double
>> ROIids 72x1 576 double
>> ROInames 72x1 10212 cell
>> ROIvalues 80x72 46080 double
>> SPM 1x1 2815400 struct
>> X 80x6 3840 double
>> Y 80x72 46080 double
>> Ze 80x1 640 double
>> alpha 1x1 8 double
>> atlas 1x10 20 char
>> c_sort_unique 2x1 16 double
>> compare_two_samples 1x1 8 double
>> con 6x4 192 double
>> corr 1x3 434 cell
>> corr_short 1x3 350 cell
>> cwd 1x55 110 char
>> data 1x3 24 cell
>> dataBeta 16x16 2048 cell
>> defined_measure 72x1 72 logical
>> ext 1x4 8 char
>> files 1x1 316 cell
>> fname 80x1 17120 cell
>> found_inv 1x1 8 double
>> hemi_code 72x1 576 double
>> hemi_ind 1x2 800 cell
>> hemiabbr 1x4 478 cell
>> hemistr 1x4 532 cell
>> i 1x1 8 double
>> indP0 72x1 576 double
>> ind_con 16x1 128 double
>> ind_inv 20x1 160 double
>> measure 1x9 18 char
>> mesh_detected 1x1 8 double
>> n 1x1 8 double
>> n_corr 1x1 8 double
>> n_hemis 1x1 8 double
>> n_structures 1x1 8 double
>> nam 1x47 94 char
>> p 80x1 640 double
>> p_tissue 72x72 41472 double
>> pat 1x1 10538 struct
>> pattern 1x8 16 char
>> pth 0x0 0 char
>> pth_label 1x75 150 char
>> roi_files_found 1x1 8 double
>> roi_names 1x80 25280 cell
>> sel_atlas 1x1 8 double
>> sel_measure 1x1 8 double
>> sname 1x20 40 char
>> spmmat 1x63 126 char
>> statstr 1x1 2 char
>> statval 80x1 640 double
>> str_con 1x23 46 char
>> strpos 0x0 0 double
>> subfolder 1x4 8 char
>> tmp 1x606 1212 char
>> write_beta 1x1 8 double
>> xCon 1x2 18862 struct
>> xml 1x1 190070 struct
>>
>> Christian Gaser <[log in to unmask]> escreveu no dia domingo,
>> 16/01/2022 à(s) 21:08:
>>
>>> Dear João,
>>>
>>> please can you add a new line before line 392 (where the error occurs)
>>> with just that command:
>>> whos
>>>
>>> Then run cat_stat_analyze again and send me the output. I cannot see any
>>> error in line 392, so I need that information to check the parameters in
>>> your case.
>>>
>>> Best,
>>>
>>> Christian
>>>
>>> On Fri, 14 Jan 2022 17:46:47 +0000, João Duarte <[log in to unmask]>
>>> wrote:
>>>
>>> >Dear Christian Gaser,
>>> >Dear CAT12 users,
>>> >
>>> >I am trying to perform ROI Analysis of thickness (and other surface
>>> >measures) in CAT12 newest version (r1932). I have done all previous steps
>>> >successfully (segmentation, extraction of surface measures, smoothing,
>>> >building statistical model, estimate surface model, defining contrasts,
>>> >running TFCE).
>>> >However, for some reason, when trying "ROI Analysis", I can go through
>>> all
>>> >input parameters (select spm.MAT, selecting contrast, defining p-value,
>>> >selecting atlas, selecting measure), it even shows a progress bar of the
>>> >process that goes up to 100% but then it always throws the error below.
>>> >Can it be some bug in the code, or am I missing something?
>>> >I would very much appreciate your help. Thanks in advance!
>>> >Best,
>>> >João
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >*Loading files
>>>
>>> >................................................................................Unable
>>> >to perform assignment because the left and right sides have a different
>>> >number of elements.Error in cat_stat_analyze_ROIs (line 392)
>>> >Pcorr{3}(defined_measure) = p_tissue;Error in
>>> >cat12>pushROIAnalysis_Callback (line 236)cat_stat_analyze_ROIs;Error in
>>> >cat12>gui_mainfcn (line 1088) 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,eventdata,guidata(hObject)),...
>>> >Error
>>> >while evaluating UIControl Callback.*
>>> >
>>>
>>>
>>>
>
|