App Radio Button Loop?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello!
My team and I have a radio group that we want to be able to switch which button is selected (ADD or DELETE) by pressing the spacebar. We thought it would be efficent to use a loop, but are not sure how to do this. Any advice?
Our current code is included below:
case 32
if app.ADDButton == 1
set(app.DELETEButton, 'Value', 1);
end
if app.DELETEButton == 1
set(app.ADDButton, 'Value', 1);
end
0 comentarios
Respuestas (1)
Abhivandan Pandey
el 14 de Jun. de 2020
Hi Emily,
Please refer to Geoff's answer in the following link:https://in.mathworks.com/matlabcentral/answers/151060-using-windowkeypressfcn-with-uicontrol
0 comentarios
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!