delete waiting dialog [USAGE] brain_file_maker_delete_wait_dialog(<h>); [IN] h : dialog handle [OUT] none Author: rhayashi Created: 2007-07-23 Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function brain_file_maker_delete_wait_dialog(h) 0002 % delete waiting dialog 0003 % [USAGE] 0004 % brain_file_maker_delete_wait_dialog(<h>); 0005 % [IN] 0006 % h : dialog handle 0007 % [OUT] 0008 % none 0009 % 0010 % Author: rhayashi 0011 % Created: 2007-07-23 0012 % 0013 % Copyright (C) 2011, ATR All Rights Reserved. 0014 % License : New BSD License(see VBMEG_LICENSE.txt) 0015 0016 % 0017 % --- Previous check 0018 % 0019 if ~exist('h', 'var'), error('h is a required parameter.'); end 0020 0021 % 0022 % --- Main Procedure 0023 % 0024 if ishandle(h) 0025 delete(h); 0026 end