Hi all, This is the first time I am using MarsBaR and I need some help. I am trying to batch script roi extraction from nifti files (GM, WM and CSF segmentations). I have the following lines: ... roifiles = dir(sprintf('%s/mri/pnii', folder)); % pnii are the GM, WM and CSF segmentation files generated by spm GMseg = roifiles(1).name; WMseg = roifiles(2).name; CSFseg = roifiles(3).name; marsbar('on'); GMroi = maroi_image( GMfile); WMroi = maroi_image(WMfile); CSFroi = maroi_image( CSFfile); I am getting...