App Designer duplicates Graphs
이전 댓글 표시
The App Designer makes like 50 copies of my graphs and pastes them on top of each other everytime I open the app for editing. I have to go through the trouble of deleting all of them every single time. This happened to me on 2017a, 2018a and 2018b versions.
댓글 수: 1
Ijab Zhan
2019년 1월 30일
Do you mean opening the app into App Designer? If that's the case, you may need to contact tech support with your app, and somebody could help to get your app reparied.
The fix to duplicated components in opening App Designer apps has been in R2019a, and will also be included in R2018b Updates 3.
답변 (1개)
Cris LaPierre
2019년 1월 18일
Would need to see your code that generates the plot to be certain, but I suspect you have hold on, and use the plot command every time to create your plot.
cla(ax)
A more elegant solution is to create the first plot in your startup function, and then use the handle to the plot to update the plotted data. See an explanation here.
댓글 수: 2
Paranjay Deshpande
2019년 1월 18일
Cris LaPierre
2019년 1월 18일
Have you tried restarting your computer?
If after doing that you still get the same behavior, could you share your mlapp file? Attach it to your post.
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!