Is there a way to select automatically a specified option of a listbox?

1 回表示 (過去 30 日間)
Flávio
Flávio 2013 年 2 月 28 日
Sorry for my bad English...
So I have two listboxes, the second associated with the first. So when I choose an option from the first listbox I want the program to select automatically an option from the second listbox.
Is it possible?
Thanks!

採用された回答

Jan
Jan 2013 年 2 月 28 日
Yes.
I guess you want to know how also. You can add code to the callback of the 1st listbox, which sets the 'Value' property of the 2nd listbox.
For a more detailed answer, the relevant parts of your code would be helpful.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by