We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bad961 commit d8131e4Copy full SHA for d8131e4
using_hg2.m
@@ -10,6 +10,7 @@
10
% (true) or not (false).
11
12
% 19/06/2015 - Suppress warning in R2015b; cache result for improved performance
13
+% 06/06/2016 - Fixed issue #156 (bad return value in R2016b)
14
15
function tf = using_hg2(fig)
16
persistent tf_cached
@@ -21,7 +22,7 @@
21
22
% This generates a [supressed] warning in R2015b:
23
tf = ~graphicsversion(fig, 'handlegraphics');
24
catch
- tf = verLessThan('matlab','8.4'); % =R2014b
25
+ tf = ~verLessThan('matlab','8.4'); % =R2014b
26
end
27
warning(oldWarn);
28
0 commit comments