Mercurial > hg > ltpda
comparison m-toolbox/test/xml_tests/test_plist.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 | |
4 p1 = param('a', 'val'); | |
5 p2 = param('a', 2); | |
6 p3 = param('a', specwin('Hanning', 20)); | |
7 | |
8 pl = plist([p1 p2 p3]); | |
9 | |
10 % Save | |
11 xmlfile = 'plist.xml'; | |
12 save(pl, xmlfile); | |
13 | |
14 % load | |
15 ql = plist(xmlfile); | |
16 | |
17 if pl ~= ql | |
18 error('### plists are not the same') | |
19 end | |
20 |