comparison m-toolbox/classes/@sigBuilder/cb_removeSignal.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 % CB_REMOVESIGNAL fires when the user clicks 'remove signal' button
2 %
3 % M Hewitson 19-10-08
4 %
5 % $Id: cb_removeSignal.m,v 1.2 2011/04/08 08:56:35 hewitson Exp $
6 %
7
8 function cb_removeSignal(varargin)
9
10 myh = varargin{1};
11 mainfig = varargin{end};
12
13 % get which signals are selected
14 sel = mainfig.SigSelected.Indices;
15 nr = size(sel,1);
16 mainfig.signals(sel(:,1)) = [];
17
18 % refresh list
19 refreshSignalList(mainfig);
20
21
22 end