Can be changed visibility of matlab window from another matlab window

1 次查看(过去 30 天)
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...

采纳的回答

Walter Roberson
Walter Roberson 2013-4-1
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()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by