Mercurial > hg > ltpda
diff m-toolbox/test/test_report.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/test/test_report.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,46 @@ +mc; + +%% AO + +pl= plist('tsfcn', 'randn(size(t))', 'fs', 10, 'nsecs', 100); +a = ao(pl); +a.setName; +a.setDescription('This is just a test AO for testing the report thingy.'); +a.setProperties(plist('plotinfo', plist('a', 123))); + +%% FSDATA AO + +fsa = a.psd; + +%% PZMODEL + +pzm = pzmodel(1, {[10 2], 5}, {4,5}); +pzm.setName + +%% Filters + +iir = miir(plist('type', 'lowpass', 'fs', 10)); +fir = mfir(plist('type', 'lowpass', 'fs', 10)); + + +%% SSM + +Thrusters = ssm(plist('built-in', 'MPS', ... + 'dim', 1, ... + 'withParams', true)); + +ESS = ssm(plist('built-in', 'TMActuation_xcpl', ... + 'dim', 1, ... + 'withParams', true)); +D = ssm(plist('built-in', 'LPF_Dynamics', ... + 'dim', 1, ... + 'withParams', true)); + + +sm = assemble(D, Thrusters, ESS) + +%% Output + +outdir = 'ltpda_report_test'; +report(fsa, a, pzm, sm, fir, iir, plist('dir', outdir, 'extras', true)); +