Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
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

回答(2 个)

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

Walter Roberson
Walter Roberson 2012-10-23
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.

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by