Dynamically populating live script dropdown control

12 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by