view m-toolbox/test/tmp/test_ao_attachm.m @ 24:056f8e1e995e database-connection-manager

Properly record history in fromRepository constructors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

	
function a_out = test_ao_attachm	
	
% Test script for ao/attachm	
% 	
% M Hewitson 23-02-08	
% 	
% $Id: test_ao_attachm.m,v 1.1 2008/03/02 18:47:55 hewitson Exp $	
% 	
	
	
a1 = ao(plist('tsfcn', 'sin(2*pi*0.1*t)', 'nsecs', 100, 'fs', 10));	
	
a1 = attachm(a1, mfilename);	
	
a1.mfile	
	
save(a1, 'a1.xml')	
	
clear all	
	
a1 = ao('a1.xml');	
	
mkdir tmp	
cd tmp	
	
	
extractm(a1)	
	
edit test_ao_attachm