From a88a7a0ac5964c9b9bca4866d003f04709954d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Mon, 4 Nov 2013 18:02:15 +0100 Subject: [PATCH] Added method like call for @dates/isempty. --- matlab/@dates/subsref.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/@dates/subsref.m b/matlab/@dates/subsref.m index 6ceaf8396..7b4c54d94 100644 --- a/matlab/@dates/subsref.m +++ b/matlab/@dates/subsref.m @@ -37,7 +37,7 @@ switch S(1).type error(['dates::subsref: ' S(1).subs ' is not a method but a member!']) end B = builtin('subsref', A, S(1)); - case {'sort','unique','double'}% Public methods (without arguments) + case {'sort','unique','double','isempty'}% Public methods (without arguments) B = feval(S(1).subs,A); if length(S)>1 && isequal(S(2).type,'()') && isempty(S(2).subs) S = shiftS(S);