フィルターのクリア

How to reset Drop Down control value (NOT uidropdown) - with example

1 回表示 (過去 30 日間)
Paul
Paul 2022 年 12 月 20 日
I have the following code (showing picture because I can't display the drop down here)
I can't find a way to make sure that each time the code is run, the drop down is set to the first item in the list. The second line was my attempt but it doesn't work. Is there a way to do this (in the Configure Control dialog the default is set to "Acetamide". Sample code is attached.

回答 (0 件)

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by