Skip to content

Commit f955d58

Browse files
committed
Matlab: revert stripping of hyphens in dvcread
1 parent 21b31a8 commit f955d58

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Utilities/Matlab/scripts/dvcread.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
if textline == -1
3939
ierror = 1;
4040
else
41-
% Remove hyphens before calling str2num
42-
cleanline = regexprep(textline, '(?<!E)-', ' ');
43-
[X ierror]=str2num(cleanline);
41+
[X ierror]=str2num(textline);
4442
end
4543
end
4644
fclose(fid);

0 commit comments

Comments
 (0)