Added method like call for @dates/isempty.
parent
2078e06b16
commit
a88a7a0ac5
|
@ -37,7 +37,7 @@ switch S(1).type
|
||||||
error(['dates::subsref: ' S(1).subs ' is not a method but a member!'])
|
error(['dates::subsref: ' S(1).subs ' is not a method but a member!'])
|
||||||
end
|
end
|
||||||
B = builtin('subsref', A, S(1));
|
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);
|
B = feval(S(1).subs,A);
|
||||||
if length(S)>1 && isequal(S(2).type,'()') && isempty(S(2).subs)
|
if length(S)>1 && isequal(S(2).type,'()') && isempty(S(2).subs)
|
||||||
S = shiftS(S);
|
S = shiftS(S);
|
||||||
|
|
Loading…
Reference in New Issue