view m-toolbox/test/xml_tests/test_xydata.m @ 42:f90d4f666cc7
database-connection-manager
Cleanup
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Mon, 05 Dec 2011 18:04:34 +0100 (2011-12-05) |
parents |
f0afece42f48 |
children |
|
line source
clear all;
x = 1:10;
c1 = xydata(x, randn(size(x)));
xmlfile = 'xydata.xml';
save(c1, xmlfile);
% load
c2 = xydata(xmlfile);
if c1 ~= c2
error('### xydatas are not the same')
end