how can i create in gui a pushbutton which has 2 callbacks and executes his second callback after a long press of 2 second?

first callback: set(handles.edit_appui,'String','Bonjour'); second callback: set(handles.edit_appui,'String','Salut');

 Akzeptierte Antwort

Do you have any reasons for not using a toggle switch?

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Tags

Noch keine Tags eingegeben.

Gefragt:

am 10 Dez. 2013

Kommentiert:

am 10 Dez. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by