For I uidropdown how do I specify numeric ItemsData within App Designer?
古いコメントを表示
When creating a uidropdown within App Designer I can input numeric values as ItemsData, however the numeric values are converted to character data within the code that is created. How do I specify numeric ItemsData?
1 件のコメント
Fabian Gock
2018 年 9 月 27 日
I've got the same question.
回答 (1 件)
Jeffery Devereux
2018 年 10 月 16 日
Value = app.SystemCertsDropDown.Value;
A = app.SystemCertsDropDown.Items;
AppData.N = find(strcmp(A,Value),1);
disp(AppData.N);
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!