How can I use Button Down Callback Function in buttons of app designer?

31 vues (au cours des 30 derniers jours)
wetlab Technion
wetlab Technion le 7 Jan 2021
I am trying to combine drag and drop features in my GUI, it means that I can drag components (push button) to speciic panels in the igure and I can create new components, I can move them, and delete them.
I started with the Guide option to build the gui and I used the callback function of WindowButtonUpFcn function for releasing the component in specific place,
Now I am trying to do the same thing with the app designer option and I use the uibutton component but there is no option of WindowButtonUpFcn in this component the only option of call back is ButtonPushedFcn when I click on the component with the mouse, is there any option to add a callback properties to the uibutton like WindowButtonUpFcn?
or maybe there is another compnent of designer that I can use or this goal.
I am using matlab 2020B
Thanks in advance
Amir.

Réponses (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi le 24 Fév 2021
Hi,
You can refer to the answer here

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by