How to hide/unhide button group using callbacks in Push button?
Ältere Kommentare anzeigen
I am trying to unhide visibility of Button Group ,but I am getting error as "Error using matlab.ui.container.ButtonGroup/set There is no Enable property on the ButtonGroup class." How to unhide it ?
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 20 Feb. 2017
Following the docs of uibuttongroup, you can set the Visibility to 'on' and 'off'. Look at the example:
bg = uibuttongroup('Visible','off', ...
...
bg.Visible = 'on';
Where does the 'Enable' come from? Please show the code, which causes an error, to allow the readers to suggest an improvement.
1 Kommentar
Pravin Kokane
am 20 Feb. 2017
Kategorien
Mehr zu App Building finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!