You are here : matlabImage Processingiptremovecallback

iptremovecallback() - Image Processing

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.


Syntax

iptremovecallback(h,callback,ID)


Example

h = figure;
f1 = @(varargin) disp('Callback 1');
f2 = @(varargin) disp('Callback 2');
f3 = @(varargin) disp('Callback 3');
id1 = iptaddcallback(h, 'WindowButtonMotionFcn', f1);
id2 = iptaddcallback(h, 'WindowButtonMotionFcn', f2);
id3 = iptaddcallback(h, 'WindowButtonMotionFcn', f3);


Output / Return Value


Limitations


Alternatives / See Also


Reference