MATLAB Function Reference Previous page   Next Page
isvalid (timer)

Determine if timer object is valid



out = isvalid(obj) returns a logical array, out, that contains a 0 where the elements of obj are invalid timer objects and a 1 where the elements of obj are valid timer objects.

An invalid timer object is an object that has been deleted and cannot be reused. Use the clear command to remove an invalid timer object from the workspace.


Create a valid timer object.

Delete the timer object, making it invalid.

See Also

timer, delete

Previous page  isunix isvarname Next page

© 1994-2005 The MathWorks, Inc.