Mercurial > hg > ltpda
view m-toolbox/classes/@sigBuilder/refreshSignalList.m @ 52:daf4eab1a51e database-connection-manager tip
Fix. Default password should be [] not an empty string
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:29:47 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% REFRESHSIGNALLIST fills the signal list from the signal array % % M Hewitson % % $Id: refreshSignalList.m,v 1.2 2011/04/08 08:56:35 hewitson Exp $ % function refreshSignalList(mainfig) % Get handle to signal list sh = findobj(mainfig.handle, 'Tag', 'sigBuilderSignalList'); % Get objects data = {}; for jj=1:numel(mainfig.signals) obj = mainfig.signals(jj); if strcmp(obj.hist.methodInfo.sets{1}, 'From Waveform') type = find(obj.hist.plistUsed, 'WAVEFORM'); elseif strcmp(obj.hist.methodInfo.sets{1}, 'From Time-series Function') type = ['f(' find(obj.hist.plistUsed, 'TSFCN') ')']; else type = ''; end data = [data; {type, obj.name, obj.data.nsecs, [' ' char(obj.data.t0) ' '], true}]; end set(sh, 'Data', data); set(sh, 'ColumnWidth', {65, 105, 50, 160, 40}); end