フィルターのクリア

how to use listbox dialog box result in a switch statement?

6 ビュー (過去 30 日間)
Muazma Ali
Muazma Ali 2023 年 11 月 2 日
回答済み: Taylor 2023 年 11 月 2 日
I am unsure whether the result from the listbox has to go in the switch statement as just indx or [[indx,tf] although it seems it is working with just indx also ..as you can see
Please try the function attached with samlet_aktivitet=0.5 for instance and
temperature=30:

回答 (1 件)

Taylor
Taylor 2023 年 11 月 2 日
You are correct to use the indx value within the switch block. indx refers to the index of the value selected by the user from the list input to listdlg. tf is just the selection logical.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by