Dynamically populating live script dropdown control

11 vues (au cours des 30 derniers jours)
DNF
DNF le 21 Mar 2018
I am trying the live script editor for the first time, and want to use the interactive controls. I see that I can add a dropdown menu, and manually edit it to supply a number of selections.
I would like, however, to dynamically populate the menu with selections. For example, my script might scan a directory looking for data files, and then I want to be able automatically have all those filenames loaded into the dropdown menu.
Is this possible?

Réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by