eventhandler — Function to call when event occurs string | character vector | function handle
Function to call when an event occurs, specified as a string or a
character vector naming the function or a function handle that maps to that
function. Strings and character vectors are not case-sensitive.
Limitations
COM functions
are available on Microsoft® Windows® systems only.