createROI : From line 301, to save ROI
use the more simple function "save_as_image" from mars bar
saveroi(roiObject, ...
fullfile(outputDir, [roiName '.mat'])); % in .mat format
save_as_image(roiObject, ...
fullfile(outputDir, [roiName '.nii'])); % in .nii format
Is there an existing issue for this?
New feature
Unclear documentation
No response