Skip to content

Commit 07c08d1

Browse files
author
Anders
committed
Include margin and with in projected ROI names
1 parent 223fc07 commit 07c08d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/main_projecting_ROIs.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
%% Export to xlsx (RIGHT)
139139
name_parts = strsplit(xlsROIfile,'.');
140-
output_filename = fullfile(xlsROIfolder, [name_parts{1} '__RIGHT.' name_parts{2}]);
140+
output_filename = fullfile(xlsROIfolder, [name_parts{1} '__RIGHT__M_' num2str(margin) '_W_' num2str(width) '.' name_parts{2}]);
141141

142142
A = {'Version',ROIheader.Version;
143143
'Name', [ROIheader.Name '__RIGHT'];
@@ -185,7 +185,7 @@
185185

186186
%% Export to xlsx (LEFT)
187187
name_parts = strsplit(xlsROIfile,'.');
188-
output_filename = fullfile(xlsROIfolder, [name_parts{1} '__LEFT.' name_parts{2}]);
188+
output_filename = fullfile(xlsROIfolder, [name_parts{1} '__LEFT__M_' num2str(margin) '_W_' num2str(width) '.' name_parts{2}]);
189189

190190
A = {'Version',ROIheader.Version;
191191
'Name', [ROIheader.Name '__LEFT'];

0 commit comments

Comments
 (0)