Mercurial > hg > ltpda
comparison m-toolbox/classes/@repogui2/cb_condSubtractBtn.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_CONDSUBTRACTBTN remove a condition from the query panel | |
2 % | |
3 % M Hewitson | |
4 % | |
5 % $Id: cb_condSubtractBtn.m,v 1.1 2008/09/22 14:28:56 hewitson Exp $ | |
6 % | |
7 function cb_condSubtractBtn(varargin) | |
8 | |
9 myh = varargin{1}; | |
10 | |
11 mainfig = varargin{end}; | |
12 Nc = mainfig.Nconditions; | |
13 if Nc < 1 | |
14 Nc = 1; | |
15 end | |
16 mainfig.Nconditions = Nc - 1; | |
17 | |
18 buildConditions(mainfig); | |
19 | |
20 end | |
21 |