Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Pushtool Enable

1 vue (au cours des 30 derniers jours)
Onur Öçalan
Onur Öçalan le 29 Juil 2011
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi everybody
I have a pushbutton im my program. In pushbutton calling function , I set it's enable 'off' . My question is that , When I click on the pushbutton , it isn't set it's enable off but in debug mode it sets enable off . I didn't understand this . Please help
Thank you.
set(handles.captureButton,'Enable','off');

Réponses (1)

Walter Roberson
Walter Roberson le 29 Juil 2011
Call drawnow() after the set()

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by