view m-toolbox/classes/@sigBuilder/buildSignal.m @ 20:d58813ab1b92
database-connection-manager
Update ltpda_uo.submit
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05) |
parents |
f0afece42f48 |
children |
|
line source
% BUILDSIGNAL builds the described signals
%
% M Hewitson
%
% $Id: buildSignal.m,v 1.1 2008/10/19 11:42:40 hewitson Exp $
%
function obj = buildSignal(mainfig)
th = findobj(mainfig.handle, 'Tag', 'JoinTypeSelect');
jtype = get(th, 'String');
jtype = jtype{get(th, 'Value')};
lh = findobj(mainfig.handle, 'Tag', 'sigBuilderSignalList');
% Get active rows
rdata = get(lh, 'Data');
sigs = mainfig.signals([rdata{:,5}]);
% Join the signal
obj = feval(jtype, sigs);
end