필터 지우기
필터 지우기

click a pushbutton automatically

조회 수: 1 (최근 30일)
jose bernardo
jose bernardo 2014년 2월 20일
Hi:
I want that a pushbutton will be clicked automatically when a variable in the opening_fcn of the GUI is 1.
I tried with this
function autoclick_OpeningFcn(hObject, eventdata, handles, varargin)
variable=1
if variable==1
set(handles.pushbutton1,'enable','on');
end
But i think enable it isnt the correct command.
Any sugestion?
Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by