Hi all,
I have troubles to run the first basic steps fo the MKDA analysis, when calling the Meta_Actvation_FWE function, the MC_info file fail to be created and I have the errors messages appearing. I always have these exact errors no matter what datafile I use (the one in the GitHub or mine), no matter if I use contrast or not and tried with another version of Matlab. Also before these errors, the 3 figures ( The one with Design matrix and indicators as titles; "before database pruning" and "after database pruning" )appears as they should. Would someone have an idea of possible solutions for this issue ?
Here are the error messages :
Error using mm2voxel
Too many input arguments.
Error in meta_get_voxel_coords (line 12)
xyzvox = mm2voxel(xyzstudy,V,1); % input: 3 rows, output: 3 columns
Error in meta_prob_activation (line 95)
xyzvox = meta_get_voxel_coords(DB, cons(c), V, maskdata);
Error in Meta_Activation_FWE (line 145)
[MC_Setup, activation_proportions] = meta_prob_activation(DB);
Error in untitled7 (line 25)
Meta_Activation_FWE('setup', DB)
Here is the function in mm2voxel.m :
function vox = mm2voxel(mm, M)
vox = M\[mm(:)' 1]';
vox = vox(1:3);
end
And here is the arguments I tried in the Meta_Actvation_FWE function : `
Thanks you for your help
Hippolyte Aubertin