Mercurial > hg > ltpda
comparison m-toolbox/classes/@sigBuilder/buildSignal.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 % BUILDSIGNAL builds the described signals | |
2 % | |
3 % M Hewitson | |
4 % | |
5 % $Id: buildSignal.m,v 1.1 2008/10/19 11:42:40 hewitson Exp $ | |
6 % | |
7 function obj = buildSignal(mainfig) | |
8 | |
9 th = findobj(mainfig.handle, 'Tag', 'JoinTypeSelect'); | |
10 jtype = get(th, 'String'); | |
11 jtype = jtype{get(th, 'Value')}; | |
12 | |
13 lh = findobj(mainfig.handle, 'Tag', 'sigBuilderSignalList'); | |
14 | |
15 % Get active rows | |
16 rdata = get(lh, 'Data'); | |
17 sigs = mainfig.signals([rdata{:,5}]); | |
18 % Join the signal | |
19 obj = feval(jtype, sigs); | |
20 | |
21 end |