App Designer duplicates Graphs
Mostrar comentarios más antiguos
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 comentario
Ijab Zhan
el 30 de En. de 2019
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.
Respuestas (1)
Cris LaPierre
el 18 de En. de 2019
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 comentarios
Paranjay Deshpande
el 18 de En. de 2019
Cris LaPierre
el 18 de En. de 2019
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.
Categorías
Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!