For I uidropdown how do I specify numeric ItemsData within App Designer?
Afficher commentaires plus anciens
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 commentaire
Fabian Gock
le 27 Sep 2018
I've got the same question.
Réponses (1)
Jeffery Devereux
le 16 Oct 2018
Value = app.SystemCertsDropDown.Value;
A = app.SystemCertsDropDown.Items;
AppData.N = find(strcmp(A,Value),1);
disp(AppData.N);
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!