diff --git a/ConnTool/ConnTool_batch_mc_central.m b/ConnTool/ConnTool_batch_mc_central.m index 5953da1f..427e326a 100644 --- a/ConnTool/ConnTool_batch_mc_central.m +++ b/ConnTool/ConnTool_batch_mc_central.m @@ -486,6 +486,7 @@ grid_coord = ROICenters; ROIGridSize = ROISize; case 'coordload' + ROIGridSize = ROISize; [ROIFileName EC] = mc_GenPath(ROIFile); if ~isempty(EC) SOM_LOG('FATAL : Failure to find the ROI file'); diff --git a/ConnTool/ConnTool_batch_mc_template.m b/ConnTool/ConnTool_batch_mc_template.m index 2f9e1d88..bd7143e3 100644 --- a/ConnTool/ConnTool_batch_mc_template.m +++ b/ConnTool/ConnTool_batch_mc_template.m @@ -465,9 +465,9 @@ %%% If a '.mat" file you need make sure it contains a single array %%% with each row being an ROI and columns are x,y,z, in MNI mm. %%% +%%% If using coordload, you need to set the ROISize variable above %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ROIFile = '[mcRoot]/ConnTool/Templates/V_MNI_12mmgrid.mat'; -ROISize = {19}; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%