Commit 732d3216 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added the possibility to get the name of the i-th variable in a dynSeries object.

The following syntax

A.name{i}

where A is a dynSeries object, returns the name of the i-th variable in A.
parent 1f48a2bf
......@@ -136,6 +136,11 @@ if (length(S)==2) && isequal(S(1).subs,'set_names') && isequal(S(1).type,'.') &&
return
end
if (length(S)==2) && isequal(S(1).subs,'name') && isequal(S(1).type,'.') && isequal(S(2).type,'{}')
us = ts.name{S(2).subs{1}};
return
end
%@test:1
......
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