Added method like call for @dates/isempty.

time-shift
Stéphane Adjemian (Charybdis) 2013-11-04 18:02:15 +01:00
parent 2078e06b16
commit a88a7a0ac5
1 changed files with 1 additions and 1 deletions

View File

@ -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);