How to disable a panel in GUIDE ?
8 次查看(过去 30 天)
显示 更早的评论
i have a panel with a no. of push buttons and other test fields, and i want to disable them till a radio button is selected; So, how can disable an entire panel without going for each component and disable them separately ??
I am using Matlab 2011a.
1 个评论
Eric Sargent
2020-12-9
As of R2020b ButtonGroup and Panel both support Enable when the button group or panel is parented to a uifigure.
采纳的回答
Walter Roberson
2012-3-14
You could set() the entire uipanel to have Visible 'off'
But if you want the panel to be still visible, then
set(findall(PanelHandle, '-property', 'enable'), 'enable', 'off')
15 个评论
更多回答(1 个)
Eric Sargent
2020-12-9
As of R2020b ButtonGroup and Panel both support Enable when the button group or panel is parented to a uifigure.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!