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
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (2)
Sachin Ganjare
on 23 Oct 2012
0 votes
You can use buttondown property, refer details below:
Hope it helps!!!
Walter Roberson
on 23 Oct 2012
0 votes
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.
1 Comment
tianya shang
on 31 Oct 2012
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!