Can be changed visibility of matlab window from another matlab window

1 visualización (últimos 30 días)
hi everyone ,
I have two gui and these is ran in same time . I want to hide/show one of them by push a pushbutton from another one .
I know ,ı mush change 'Visible' on and off but
I don't know, how can i do it with control another window's pushbutton
thank you for your helping...

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Abr. de 2013
You just need to know the handle of the figure.
set(TheFiguresHandle, 'Visible', 'off')
There are a number of ways you can find out the handle. You might wish to give the figure a unique Tag and then search for the figure with that tag using findobj()

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by