App Radio Button Loop?

1 回表示 (過去 30 日間)
Emily McCoy
Emily McCoy 2020 年 6 月 13 日
回答済み: Abhivandan Pandey 2020 年 6 月 14 日
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

回答 (1 件)

Abhivandan Pandey
Abhivandan Pandey 2020 年 6 月 14 日
Hi Emily,

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by