Skip to content

Commit

Permalink
fix for r2014b: replace isnumeric -> ishandle
Browse files Browse the repository at this point in the history
  • Loading branch information
jwvdm committed Dec 17, 2014
1 parent fb1cc14 commit 28e548a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/+ebfret/+ui/IndexControl.m
Expand Up @@ -22,7 +22,7 @@

ip = inputParser();
ip.StructExpand = true;
ip.addParamValue('parent', gco(), @isnumeric);
ip.addParamValue('parent', gco(), @ishandle);
ip.addParamValue('position', [0 0 1 1], @isnumeric);
ip.addParamValue('units', 'Normalized', ...
@(s) any(strcmpi(s, ...
Expand Down
2 changes: 1 addition & 1 deletion src/+ebfret/+ui/PlotPanel.m
Expand Up @@ -16,7 +16,7 @@
% 'axes' : {'name', [l b h w], ...}
ip = inputParser();
ip.StructExpand = true;
ip.addParamValue('parent', gco(), @isnumeric);
ip.addParamValue('parent', gco(), @ishandle);
ip.addParamValue('position', [0 0 1 1], @isnumeric);
ip.addParamValue('title', 'Time Series', @isstr);
ip.addParamValue('units', 'Normalized', ...
Expand Down

0 comments on commit 28e548a

Please sign in to comment.