Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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!

Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Oct. de 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 comentarios
Walter Roberson
Walter Roberson el 31 de Oct. de 2016
use delete() on the handle.
Thanigaivel Raja T
Thanigaivel Raja T el 31 de Oct. de 2016
Editada: Thanigaivel Raja T el 31 de Oct. de 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:)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by