필터 지우기
필터 지우기

How to reset a pushbutton activity by using another pushbutton one

조회 수: 1 (최근 30일)
Hi all,
I worked with webcam in matlab. I use one pushbutton (pushbutton Preview) to activate webcam and put the video input in axes (axes Preview) and also put an image result of getsnapshot video in another axes (axes Capture). I want to use another pushbutton to reset the pushbutton preview and the axes Preview. I don't have an idea. Anyone help me please? Thx for your idea.....

채택된 답변

Vishal Rane
Vishal Rane 2013년 6월 20일
If you are using guide generated gui, in the callback for the reset button use
set(handles.pushbuttontag, 'Property', 'PropertyValue')
set(handles.axestag, 'Property', 'PropertyValue')
to modify the other pushbutton and/or axes components

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by