Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

I want to know that whether the pushbutton has the functions about it can call a functions when I still pressing it ,and when I loosen it ,it will call another functions

1 visualizzazione (ultimi 30 giorni)
I want to know that whether the pushbutton has the functions about it can call a functions when I still pressing it ,and when I loosen it ,it will call another functions

Risposte (2)

Sachin Ganjare
Sachin Ganjare il 23 Ott 2012
You can use buttondown property, refer details below:
Hope it helps!!!

Walter Roberson
Walter Roberson il 23 Ott 2012
You will need to work at the figure level and use the button down callback and the button up callback. The other levels (e.g., uicontrol) have button down callbacks but not button up callbacks.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by