Close methods overloaded for JCONTROL objects Simply calls delete. Included as JCONTROL objects can sometimes be used to replace figures/waitbars etc where existing code may cal close instead of delete. ------------------------------------------------------------------------- Author: Malcolm Lidierth 07/07 Copyright The Author & King's College London 2007- -------------------------------------------------------------------------
0001 function close(obj) 0002 % Close methods overloaded for JCONTROL objects 0003 % 0004 % Simply calls delete. Included as JCONTROL objects can sometimes be used 0005 % to replace figures/waitbars etc where existing code may cal close instead 0006 % of delete. 0007 % 0008 % ------------------------------------------------------------------------- 0009 % Author: Malcolm Lidierth 07/07 0010 % Copyright The Author & King's College London 2007- 0011 % ------------------------------------------------------------------------- 0012 0013 delete(obj) 0014 return 0015 end