Button is being long pressed or just clicked?
Show older comments
I have a GUI with a button and I want that if the button is clicked: something happens. If it's long pressed: after I release the button another thing happens. I'm not sure if there's a way to do exactly this but something similar would be nice. The important thing is that I maintain only one button.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!