How to copy entire panel with objects but not with the values of the children
7 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am working MATLAB APP designer. I have an excel file with unknown sheets. Each sheet has different data. I Created a two panel GUI. left panel consists of x,yleft,yright axes dropdowns and a plot button. Right panel consists of graph to plot the data selected from left panel.
Now depending on the number of Sheets i am creating the tabs on the right panel( for example 2 tabs --if 2 sheets,3 tabs --if 3 sheets ).
For each right panel. I am creating a copy of left panel as well. But i face a problem now, values of x,y dropdowns are still same as original. Even after adding the Items to the dropdown the values are taken from original list.
5 个评论
Harald
2023-7-26
Hi @Saikrishna
I hope to have answered your question about the dropdown items in my previous posts. In particular, I have advised on lines to adjust.
I understand that if you want to have a tab for each sheet and the number of sheets is unknown ahead of time, the tabs need to be created dynamically. However, I would consider an entirely different design: three dropdowns, the first to choose the sheet and the other two will then let the user select the x- and y-columns for that sheet. This might not be as fancy but would be a lot easier to maintain.
Best wishes,
Harald
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!