| MATLAB® | ![]() |
delete(h)
delete(h) optional method you can implement to perform cleanup tasks just before the handle object is destroyed. The MATLAB runtime calls the delete method of any handle object (if it exists) when the object is destroyed. h is a scalar handle object.
A delete method should not generate errors or create new handles to the object being destroyed. If the delete method has a different signature (having output arguments or more than one input argument) it is not called when the handle objects is destroyed.
See Handle Class Delete Methods for more information.
![]() | delete (ftp) | delete (serial) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |