Info

此问题已关闭。 请重新打开它进行编辑或回答。

Pushtool Enable

1 次查看(过去 30 天)
Onur Öçalan
Onur Öçalan 2011-7-29
关闭: MATLAB Answer Bot 2021-8-20
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');

回答(1 个)

Walter Roberson
Walter Roberson 2011-7-29
Call drawnow() after the set()

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by