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

Fixed bug in @dseries/save.

The default value of the file name (without extension) was wrong when the method was called with the dot notation.
parent 92adc85d
......@@ -124,7 +124,11 @@ switch S(1).type
if isempty(S(2).subs)
save(A,inputname(1));
else
save(A,S(2).subs{:});
if isempty(S(2).subs{1})
save(A,inputname(1),S(2).subs{2});
else
save(A,S(2).subs{:});
end
end
S = shiftS(S);
else
......
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