comparison m-toolbox/classes/@launchBay/cb_mainfigClose.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_MAINFIGCLOSE close callback for repogui2.
2 %
3 % M Hewitson 22-09-08
4 %
5 % $Id: cb_mainfigClose.m,v 1.1 2008/12/02 08:04:11 hewitson Exp $
6 %
7
8 function cb_mainfigClose(varargin)
9
10 mainfig = varargin{end};
11
12 disp('* Goodbye from the LTPDA Launch Bay *')
13 delete(mainfig.handle)
14 delete(mainfig)
15 % delete 'ans' variable associated with this repogui
16 evalin('base', 'if exist(''ans'', ''var'') && isa(ans, ''sigBuilder''), clear(''ans''); end');
17
18 end
19