Mercurial > hg > ltpda
comparison m-toolbox/classes/@modelViewer/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/11/30 12:56:57 hewitson Exp $ | |
6 % | |
7 | |
8 function cb_mainfigClose(varargin) | |
9 | |
10 mainfig = varargin{end}; | |
11 | |
12 disp('* Goodbye from the LTPDA Model Viewer *') | |
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 |