diff --git a/matlab/@dynSeries/subsref.m b/matlab/@dynSeries/subsref.m index 1d9b0ea54..30bb89e81 100644 --- a/matlab/@dynSeries/subsref.m +++ b/matlab/@dynSeries/subsref.m @@ -120,6 +120,11 @@ if (length(S)==2) && (isequal(S(1).subs,'init')) return end +if (length(S)==2) && (isequal(S(1).type,'.')) && (isequal(S(1).subs,'data')) && (isequal(S(2).type,'()')) + us = builtin('subsref',ts.data,S(2)); + return +end + if (length(S)==1) && isequal(S(1).type,'{}') us = extract(ts,S(1).subs{:}); return