How to copy entire panel with objects but not with the values of the children
조회 수: 4 (최근 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!