Main Content

eventlisteners

List event handler functions associated with COM object events

Description

info = eventlisteners(c) lists the events and their event handler routines registered with a COM object.

Input Arguments

collapse all

COM object, specified as a function handle.

Output Arguments

collapse all

List of event handler functions, returned as a cell array of character vectors. Each row contains the name of a registered event and the handler routine for that event. If the object has no registered events, eventlisteners returns an empty cell array.

Limitations

  • COM functions are available on Microsoft® Windows® systems only.

Version History

Introduced before R2006a