Commit 45b89a17 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Give dot access to the @dynSeries/size function.

parent 9f117f9d
...@@ -76,6 +76,14 @@ switch S(1).type ...@@ -76,6 +76,14 @@ switch S(1).type
else else
save(A); save(A);
end end
case {'size'}
if length(S)==2 && strcmp(S(2).type,'()') && ~isempty(S(2).subs)
B = size(A,S(2).subs{1});
S = shiftS(S);
else
[x,y] = size(A);
B = [x, y];
end
case {'rename','tex_rename'} case {'rename','tex_rename'}
B = feval(S(1).subs,A,S(2).subs{:}); B = feval(S(1).subs,A,S(2).subs{:});
S = shiftS(S); S = shiftS(S);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment