Use @dates/double as a method.
parent
ed9babae26
commit
70969e4e46
|
@ -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'}% Public methods (without arguments)
|
case {'sort','unique','double'}% 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