Borrar filtros
Borrar filtros

Radio button and button group in GUIDE

4 visualizaciones (últimos 30 días)
John F
John F el 26 de Jul. de 2011
Comentada: Lennart el 11 de Dic. de 2013
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?

Respuesta aceptada

John F
John F el 26 de Jul. de 2011
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 comentario
Lennart
Lennart el 11 de Dic. de 2013
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.

Iniciar sesión para comentar.

Más respuestas (1)

Doug Hull
Doug Hull el 26 de Jul. de 2011
Put them in a radio button group. It looks like a a panel. The callback is on the RBgroup.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by