How to repopulate popupmenu by deleting old data.
1 view (last 30 days)
Show older comments
Hi,
I am writing a program using GUI where I have two pop up menus that include dates of recorded data. When the user loads new data both pop up menus get filled by a cell-array vector that include dates from lower to higher order. The user then selects a date in popupmenu1 and another one in popupmenu2. The program then selects data from that range and plots it.
The problem is that when the user loads new data the popup menus repopulates but they keep the old dates; it writes the new dates above the old dates. My question is, how can I reset the pop up menu to default? (no string written on it, blank) so that I can then populate it with the new dates?
0 Comments
Answers (3)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!