help save
Oleg
I wish it was that simlpe. I am talking about a MATLAB timeseries object not just any old variable in the workspace (check it out: help timeseries). Any other ideas?
It is basically the same concept.
If your timeseries object is named 'my_ts'.
save('myfile','my_ts');
this will save the timeseries object 'my_ts' inside myfile.mat in the default directory.
Hence,
save('myfile','my_ts');
load myfile % will bring back your timeseries 'my_ts', in the workspace
Thanks ade77. That works. I appreciate you patiently pointing out the obvious need for putting the single quotes around the timeseries name... I read the help on "save" (as suggested by Oleg) but for some reason I missed this obvious fact. I am always thrown off by how MATLAB requires strings for arguments for some functions but not others.
I do completely agree with you.
Oleg