I'm trying to implement a buttondownfcn callback in an app I'm building use AppDesigner.
There is a plot that my code generates and I want to click on the plot and have some code execute.
The problem is when I try to use buttondownfcn I get a message saying there may be some incompatibility with UIFigure objects, which is what the object is classified as when AppDesigner creates it.
Maybe I'm doing something wrong? Has anyone had the same issue or know of a way to work around it?
thanks