Creating a Button Group in Guide
3 views (last 30 days)
Show older comments
I inserted a button group onto my GUI in Guide, but the functions controlling it did not show up in the Guide editor. I tried to just write the function like it should have been there, but the callbacks are not working.
Is there some way to force Guide to create a uipanel1_SelectionChangeFcn?
4 Comments
Sean de Wolski
on 26 Jul 2012
@Walter, actually when a buttongroup is created in GUIDE, it does come out as a uipanel.
Open a blank guide gui, add a button panel, and view its SelectionChangeFcn
function uipanel1_SelectionChangeFcn(hObject, eventdata, handles)
% hObject handle to the selected object in uipanel1
Answers (1)
Sean de Wolski
on 26 Jul 2012
Right click on the uibuttongroup panel and select "View Callbacks" -> "SelectionChangeFcn".
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!