Mercurial > hg > ltpda
comparison m-toolbox/test/tmp/test_ao_attachm.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 | |
2 function a_out = test_ao_attachm | |
3 | |
4 % Test script for ao/attachm | |
5 % | |
6 % M Hewitson 23-02-08 | |
7 % | |
8 % $Id: test_ao_attachm.m,v 1.1 2008/03/02 18:47:55 hewitson Exp $ | |
9 % | |
10 | |
11 | |
12 a1 = ao(plist('tsfcn', 'sin(2*pi*0.1*t)', 'nsecs', 100, 'fs', 10)); | |
13 | |
14 a1 = attachm(a1, mfilename); | |
15 | |
16 a1.mfile | |
17 | |
18 save(a1, 'a1.xml') | |
19 | |
20 clear all | |
21 | |
22 a1 = ao('a1.xml'); | |
23 | |
24 mkdir tmp | |
25 cd tmp | |
26 | |
27 | |
28 extractm(a1) | |
29 | |
30 edit test_ao_attachm | |
31 | |
32 |