Creating a Button Group in Guide
이전 댓글 표시
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
Walter Roberson
2012년 7월 26일
Button groups are not uipanel, so uipanel1_SelectionChangeFcn would not be appropriate.
Caleb
2012년 7월 26일
Sean de Wolski
2012년 7월 26일
@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
Caleb
2012년 7월 26일
답변 (1개)
Sean de Wolski
2012년 7월 26일
0 개 추천
Right click on the uibuttongroup panel and select "View Callbacks" -> "SelectionChangeFcn".
카테고리
도움말 센터 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!