MATLAB Function Reference Previous page   Next Page
delete (timer)

Remove a timer object from memory



delete(obj) removes the timer object, obj, from memory. If obj is an array of timer objects, delete removes all the objects from memory.

When you delete a timer object, it becomes invalid and cannot be reused. Use the clear command to remove invalid timer objects from the workspace.

If multiple references to a timer object exist in the workspace, deleting the timer object invalidates the remaining references. Use the clear command to remove the remaining references to the object from the workspace.

See Also

clear, isvalid, timer

Previous page  delete (ftp) demo Next page

© 1994-2005 The MathWorks, Inc.