Dynamically populating live script dropdown control

12 Ansichten (letzte 30 Tage)
DNF
DNF am 21 Mär. 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?

Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by