clear all;

c1 = tsdata(randn(1,10), 10);

xmlfile = 'tsdata.xml';
save(c1, xmlfile);


% load
c2 = tsdata(xmlfile);

if c1 ~= c2
  error('### tsdatas are not the same')
end
