Mercurial > hg > ltpda
annotate m-toolbox/test/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 |
rev | line source |
---|---|
0 | 1 % Test script for ao/attachm |
2 % | |
3 % M Hewitson 23-02-08 | |
4 % | |
5 % $Id: test_ao_attachm.m,v 1.2 2009/02/02 15:20:38 hewitson Exp $ | |
6 % | |
7 | |
8 function a_out = test_ao_attachm | |
9 | |
10 a1 = ao(plist('tsfcn', 'sin(2*pi*0.1*t)', 'nsecs', 100, 'fs', 10)); | |
11 | |
12 a1 = attachm(a1, mfilename); | |
13 | |
14 a1.mfile | |
15 | |
16 save(a1, 'a1.xml') | |
17 | |
18 end |