Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Penny
Penny le 4 Avr 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Jan
Jan le 5 Avr 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 le 5 Avr 2017
Are you using GUIDE? If so, don't do that - don't set handles equal to anything or else you will destroy it.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by