Effacer les filtres
Effacer les filtres

How to enable uipushtool 'ON' through guide for R2013a?

1 vue (au cours des 30 derniers jours)
Thanigaivel Raja T
Thanigaivel Raja T le 31 Oct 2016
I have a push button and uipushtool. I have set the uipushtool enable to 'off' by default. I wish to enable 'on' the uipushtool upon clicking of the pushbutton. But I am unable to find a way to access the uipushtool handles. Hence I'm unable to turn on the uipushtool. I use MATLAB R2013a.
Thanks in advance!

Réponse acceptée

Walter Roberson
Walter Roberson le 31 Oct 2016
Ideally, you would have saved the handle when you created the tool.
Otherwise, use findobj() with 'type' 'uipushtool' to get the handles of the tool. If you had given the uipushtool a unique tag you could findobj() on that tag.
  5 commentaires
Walter Roberson
Walter Roberson le 31 Oct 2016
use delete() on the handle.
Thanigaivel Raja T
Thanigaivel Raja T le 31 Oct 2016
Modifié(e) : Thanigaivel Raja T le 31 Oct 2016
Thank you. I tried it was not happening. Anyways, I'll recreate the gui because there are lots of such problems which are not visible in the code. This time I'll do things carefully:)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by