* matlab/@dynDates/subsref.m: adding sub_sample subsref to dynDates
parent
e6541dabcc
commit
842b8875f2
|
@ -68,6 +68,11 @@ if isequal(S(1).type,'.')
|
|||
otherwise
|
||||
error('dynTime::subsref: Unknown public method or member!')
|
||||
end
|
||||
elseif isequal(S.type,'()') % Extract a sub-sample.
|
||||
if length(S.subs)==1
|
||||
S.subs = [S.subs, ':'];
|
||||
end
|
||||
B = builtin('subsref', A.time, S);
|
||||
else
|
||||
error('dynTime::subsref: Something is wrong in your syntax!')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue