Info

This question is closed. Reopen it to edit or answer.

axes and objects in GUI, when using 'handles=guihandles', I cannot find the axes in the handles list

1 view (last 30 days)
Hello guys. I have a problem when I use 'handles=guihandles' to create a struct of handles. I can get other items, like the checkbox, edit, pushbuttons, in the handles list. But I cannot get the item of the axes. Because I have some objects on the axes, like plots or images. I can get the axes item without any objects on it. Can anybody help me to slove this problem? Any help will be appreciated. Thank you.
  2 Comments
Jan
Jan on 5 Apr 2017
What exactly is your question? If you want to get the handles of object inside an axes from the handles struct, you have to store them there at first. Did you do this? Please post the relevant part of the code.
Image Analyst
Image Analyst on 5 Apr 2017
Are you using GUIDE? If so, don't do that - don't set handles equal to anything or else you will destroy it.

Answers (0)

Community Treasure Hunt

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

Start Hunting!