How to update the value of a handles?

2 ビュー (過去 30 日間)
Meshooo
Meshooo 2015 年 10 月 16 日
コメント済み: Meshooo 2015 年 12 月 2 日
Dear all,
I have a GUI with a button that imports an "Old_image" and process it. I use this code in the first line of the button function
Old_image = handles.Old_image; %import
After processing I get new image that I call "New_image".
I want, if I click this button again then do not import "Old_image" and just do the processing again for the "New_image".
Any idea how to do that? ( I can't use "getimage" function because no axes)
Thank you.
Meshoo

採用された回答

Image Analyst
Image Analyst 2015 年 10 月 16 日
You need to call guidata(). See the documentation.
  1 件のコメント
Meshooo
Meshooo 2015 年 12 月 2 日
OK, thank you very much.

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by