ButtonDownFcn with MATLAB AppDesigner

2019-07-31 02:48发布

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

0条回答
登录 后发表回答