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 日間)
tianya shang
tianya shang 2012 年 10 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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