disableListener
Contents
Syntax
c = disableListener(hl)
Description
Disable listener(s) and return an onCleanup object that will re-enable it (them) upon deletion. This is particularly useful for temporarily disabling a listener during the time a specific function will execute, without worrying of error potentially hapening in this function, as the listener will be re-enabled in any case.
See also deleteValid (and Matlab onCleanup documentation)
Source
Thomas Deneux
Copyright 2015-2017