Skip to content

Commit

Permalink
compatibility check R2020 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Prikaziuk committed Nov 24, 2020
1 parent c0419e6 commit 3894ba1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/+helpers/check_compatibility.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

ver_out = ver;
toolboxes = {ver_out.Name};

if ~verLessThan('matlab', '9.8') % >= R2020a
warning('We guarantee preformance up until R2019b, your matlab version is higher. If it fails, please, report')
end

% required
assert(any(strcmp('Optimization Toolbox', toolboxes)), ...
Expand Down

0 comments on commit 3894ba1

Please sign in to comment.