Commit 5ee5b1a8 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added an alternative calling sequence (with two inputs instead of three).

parent 0f8e05fc
function sp = setTime(sp,i,date)
sp.time(i,:) = date;
if nargin==3
sp.time(i,:) = date;
elseif nargin==2
if isa(i,'dynTime')
sp.time=i.time;
else
sp.time=i;
end
end
\ No newline at end of file
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