by default one radio button is selected in button group but i want in initial no radio button is selected with Buttongroup

5 ビュー (過去 30 日間)
Button group

採用された回答

Walter Roberson
Walter Roberson 2017 年 9 月 9 日
That does not appear to be possible in R2014b or later. It appears to me that the first button added to a uibuttongroup automatically has its Value set to 1.
Your options are:
  1. set() the Value of the first button to 0 after it is added to the uibuttongroup; or
  2. create a junk button first and add it to the uibuttongroup, and then after the other buttons are added, delete the junk button.

その他の回答 (1 件)

Image Analyst
Image Analyst 2017 年 9 月 8 日
That's now how they operate I don't think. What you should use instead is a popup menu, or a listbox.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by