Determine whether input is COM object event
tf = isevent(c,eventname)
DblClick is an event in the
MATLAB® sample control. MATLAB displays
DblClick is an event.
Create an instance of the
mwsamp control and test
f = figure('position',[100 200 200 200]); h = actxcontrol('mwsamp.mwsampctrl.2',[0 0 200 200],f); isevent(h,'DblClick')
Redraw. MATLAB displays
Redraw is not an event; it is a method.
c— COM object
COM object, specified as a function handle.
eventname— Event name
Event name, specified as a string or a character vector. The
eventname argument is not case-sensitive.
COM functions are available on Microsoft® Windows® systems only.