Radio button and button group in GUIDE

조회 수: 5 (최근 30일)
John F
John F 2011년 7월 26일
댓글: Lennart 2013년 12월 11일
I'm trying to create a button group with 5 radio buttons using GUIDE. I can place the objects in the graphic window, but when I save and update the m-file function, I don't see any of the functions that should be created ('SelectionChangeFcn','Callback', etc.). What could I be doing wrong?

채택된 답변

John F
John F 2011년 7월 26일
I found out that you have to right click on the button group and select the specific function from "view callbacks". Not automatic like most of the other GUI types.
  댓글 수: 1
Lennart
Lennart 2013년 12월 11일
Took me forever to get this to work, I even manually created the callback function GUIDE creates if you do this. Didnt work. However if GUIDE creates it for me through the menu you directed me to it does work. Thanks a lot for this solution.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Doug Hull
Doug Hull 2011년 7월 26일
Put them in a radio button group. It looks like a a panel. The callback is on the RBgroup.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by