comparison m-toolbox/classes/@workspaceBrowser/cb_guiClosed.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_GUICLOSED Closes the GUI.
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % CB_GUICLOSED Closes the GUI.
5 %
6 % $Id: cb_guiClosed.m,v 1.1 2010/01/22 15:58:41 ingo Exp $
7 %
8
9 function cb_guiClosed(varargin)
10 wb = getappdata(0, 'WorkspaceBrowser');
11 if ~isempty(wb)
12 delete(wb.h1);
13 delete(wb.h2);
14 delete(wb.h3);
15 delete(wb.h4);
16 delete(wb.h5);
17 delete(wb.h6);
18 delete(wb.h7);
19 delete(wb.h8);
20 delete(wb.h9);
21 setappdata(0, 'WorkspaceBrowser', []);
22 wb.hdl = [];
23 java.lang.System.gc();
24 disp('*** Goodbye from WorkspaceBrowser');
25 end
26
27 end
28
29