How to add drop down items based on a categorical array the user inputs in matlab gui app?

1 visualizzazione (ultimi 30 giorni)
% Value changed function: SELECTTEAMDropDown
function SELECTTEAMDropDownValueChanged(app, event)
teamname = string(app.SELECTTEAMDropDown.Value)
disp(app.station_names)
disp(app.trucklist)
% for i=1:12
% val{i}={app.station_names{i}}
% end
class((app.station_names))
app.SELECTSTATIONDropDown.Items=app.station_names
end

Risposte (0)

Categorie

Scopri di più su Tables in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by