Skip to content

Commit fd56f18

Browse files
authored
Get rid of deprecated UseHG2 feature
MATLAB 2016b throws an error on `feature('UseHG2')`: ``` Error using feature UseHG2 will be removed in a future release. Use ~verLessThan('matlab','8.4.0') instead. Error in isHG2 (line 3) check = feature('UseHG2'); Error in plotlyfig/update (line 517) if isHG2 Error in plotlyfig (line 203) obj.update; Error in fig2plotly (line 44) p = plotlyfig(varargin{:}); ``` Fixes #97.
1 parent 72b22f5 commit fd56f18

File tree

1 file changed

+2
-2
lines changed
  • plotly/plotlyfig_aux/helpers

1 file changed

+2
-2
lines changed

plotly/plotlyfig_aux/helpers/isHG2.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
function check = isHG2
22
%check for HG2 update
3-
check = feature('UseHG2');
4-
end
3+
check = ~verLessThan('matlab','8.4.0');
4+
end

0 commit comments

Comments
 (0)