How do I create dropdown lists in gui based on folders, subfolders, and file names

3 次查看(过去 30 天)
Hi,
I have a large amount of data that I want to process and view in a plot in a GUI. To get to the data that needs to be plotted, There are 4 folders (aka levels) that the user needs to select. In other words, the first drop down list has to have a list of the 30 folders in the data set. The second dropdown list has to have a list of the 4 folders that are in the folder specified by the first dropdown list. The third dropdown shows all the folders in the folder indicated in the second dropdown, and the fourth shows all the files in the folder indicated in the third list. The file selected in the fourth list will then be read, analyzed, and graphed. The number of subfolders within a given folder varies. Please help!
Thanks.
  2 个评论
Jan
Jan 2013-10-7
What is your question? What did you try so far? Are you working with GUIDE or do you create your GUI programmatically?
Karthik
Karthik 2013-10-7
My question is: How do I create cascading drop down lists where the options in the second drop down list depends on the item selected in the first (and so on) using GUIDE? So far all I've really been able to do is show that I want 4 drop down lists in the gui. I'm assuming that I need to create the lists programmatically because the number of options within each list varies with the option selected in the first dropdown list.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by