Skip to content

Commit 02e473c

Browse files
committed
Solve problem with reading patterns file
1 parent 79a8cf6 commit 02e473c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epanetCPA/EpanetCPA.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
if nsep > 1
340340
error('Problem with format of %s cyberoption.',option);
341341
else
342-
filename = text(temp(1):end);
342+
filename = strtrim(text(temp(1):end));
343343
cyberoptions.patterns = csvread(filename);
344344
end
345345
case 'pda_options'

0 commit comments

Comments
 (0)