MATLAB Answers

How to update the value of a handles?

7 views (last 30 days)
Meshooo
Meshooo on 16 Oct 2015
Commented: Meshooo on 2 Dec 2015
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

  0 Comments

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 16 Oct 2015
You need to call guidata(). See the documentation.

  1 Comment

Meshooo
Meshooo on 2 Dec 2015
OK, thank you very much.

Sign in to comment.

More Answers (0)

Sign in to answer this question.