This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Why Does handle.listener Return an Error?

The new graphics system is based on MATLAB® objects, which do not support the use of handle.listener to create event listeners. To create listeners for graphics objects, use addlistener .


Release 2010b and later support addlistener, so your code can run in multiple releases after you update it.