comparison m-toolbox/test/xml_tests/test_cdata.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 clear all;
2
3 c1 = cdata(complex(randn(4,4), randn(4,4)));
4
5 xmlfile = 'cdata.xml';
6 save(c1, xmlfile);
7
8 % load
9 c2 = cdata(xmlfile);
10
11 if c1 ~= c2
12 error('### cdatas are not the same')
13 end