Effacer les filtres
Effacer les filtres

App Radio Button Loop?

1 vue (au cours des 30 derniers jours)
Emily McCoy
Emily McCoy le 13 Juin 2020
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

Réponses (1)

Abhivandan Pandey
Abhivandan Pandey le 14 Juin 2020
Hi Emily,

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by