Image Processing Toolbox User's Guide Previous page   Next Page
iptremovecallback

Delete function handle from callback list

Syntax

Description

iptremovecallback(h,callback,ID) deletes a callback from the list of callbacks created by imaddcallback for the object with handle h and the associated callback string callback. ID is the identifier of the callback to be deleted. This ID is returned by iptaddcallback when you add the function handle to the callback list.

Example

This example registers three callbacks for a particular figure and then removes one of them.

Register the callbacks and try them interactively.

Remove one of the callbacks and then move the mouse over the figure again. Whenever MATLAB detects mouse motion over the figure, function handles f1 and f3 are called in that order.

See Also

iptaddcallback


Previous page  iptnum2ordinal iptsetpref Next page

© 1994-2005 The MathWorks, Inc.