Skip to content
Snippets Groups Projects
Commit d140e40a authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added save in Fame databases.

*Example*

>> ts = dseries(randn(200, 30), dates('1950Q1'));
>> ts.save('toto','fame')

The last command will save all the time series in a Fame database called
toto.db.
parent dd5dd0a9
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,10 @@ switch format
fprintf(fid, '%s%s\n',date2string(A.dates(t)),str);
end
fclose(fid);
case 'fame'
fame.write([basename '.db'], A);
otherwise
error('Unknown format!')
end
%@test:1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment