Home > functions > gui > current_gui_dir > current_gui_advanced_delete.m

current_gui_advanced_delete

PURPOSE ^

delete current advanced parameter gui

SYNOPSIS ^

function current_gui_advanced_delete(adv_fig)

DESCRIPTION ^

 delete current advanced parameter gui
 [USAGE]
    current_gui_advanced_delete(adv_fig);
 [IN]
    adv_fig : figure handle
 [OUT]
    none

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function current_gui_advanced_delete(adv_fig)
0002 % delete current advanced parameter gui
0003 % [USAGE]
0004 %    current_gui_advanced_delete(adv_fig);
0005 % [IN]
0006 %    adv_fig : figure handle
0007 % [OUT]
0008 %    none
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Previous check
0015 %
0016 if ~exist('adv_fig', 'var'), error('adv_fig is a required parameter.'); end
0017 
0018 %
0019 % --- Main Procedure
0020 %
0021 data = guidata(adv_fig);
0022 delete(adv_fig);
0023 
0024 % notify delete
0025 current_gui(data.parent, 'delete_adv_gui');

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005