Skip to content

Commit

Permalink
Update xml_read.m
Browse files Browse the repository at this point in the history
Fixes version check.
  • Loading branch information
TamerGezici committed Apr 10, 2024
1 parent 46f2070 commit 1f66452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/XML_IO_Tools/xml_read.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

%% Check Matlab Version
v = ver('MATLAB');
v = str2double(regexp(v.Version, '\d.\d','match','once'));
v = str2double(regexp(v.Version, '\d+.\d+','match','once'));
if (v<7.1)
error('Your MATLAB version is too old. You need version 7.1 or newer.');
end
Expand Down Expand Up @@ -489,4 +489,4 @@
end
else
res = y;
end
end

0 comments on commit 1f66452

Please sign in to comment.