フィルターのクリア

How to reset a pushbutton activity by using another pushbutton one

1 回表示 (過去 30 日間)
Hotland
Hotland 2013 年 6 月 19 日
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
  1 件のコメント
Hotland
Hotland 2013 年 6 月 21 日
Thx Vishal, I'll try your code....

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by