How do you fill a GUIDE generated listbox with strings from a multileveled struct?
Afficher commentaires plus anciens
I am trying to create a GUI to assist in the visualization/analysis of data for a large research study. In particular, the study consists of approximately 45 test subjects, each of which will have 4 test sessions. These sessions will consist of 4 test segments that all record data from 6 data channels. I wrote a function that automatically imports all of the data and stores it into a multileveled struct that is something like this:
subject.sessions.segment.dataChannel
In addition, subject IDs are stored in:
subject.name
I would like to be able to first autopopulate a GUIDE generated listbox with the string names from struct.name (with the ability to select multiple), then populate a second listbox with available sessions, and a third with available segments. The dataChannels I would like to select from a drop down menu and then have the GUI trace back to the appropriate data in the struct for the specific subject(s)/session/segment combination, and then plot/display the data.
I am very new at GUIDE and have never made a GUI before, so I am having a very difficult time figuring out how to write the callbacks appropriately. Any help I could get would be much appreciated. Thanks in advance!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!