Commit 842b8875 authored by MichelJuillard's avatar MichelJuillard
Browse files

* matlab/@dynDates/subsref.m: adding sub_sample subsref to dynDates

parent e6541dab
......@@ -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
Markdown is supported
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