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

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)

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.

This question is closed.

Tags

Asked:

on 23 Oct 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!