GUI handles does not update
2 views (last 30 days)
Show older comments
Hi. Here is a problem: on my gui I have axes where I display an image. At first, my code was as following:
it worked fine so far, however, the word "axes" was underlined by orange line, suggesting that this is not a good way to implement this code. So, I found another way to activate the axis:
now, it works good too, however, something happened to the 'handles' of my GUI - it does not update anymore. Thus, the following:
does not save changes to the handles. I tried to make my GUI active instead of axes, but it did not help:
Is there a way to fix it?
Walter Roberson on 6 Nov 2011
Do not use axes() or set CurrentAxes. Instead,
imshow(myImage, 'Parent', handles.axes1)
More Answers (0)
Find more on Specifying Target for Graphics Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!