How can I make my GUI program to run faster?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello Guys,
I have developed a program in GUI. Program do contians few graphs to develop. But my GUI program is executing very slowly. It is taking almost 10-15 min to plot a normal time vs. amplitude graph. How can I speedup the execution. Do we have any coding to write before we plot graphs in GUI.
I tried using {draw now};
Thanking you.
Meera
4 comentarios
Adam
el 13 de Abr. de 2015
And where does the profiler tell you the time is being spent when run from a GUI that it isn't when run from a script?
Respuestas (1)
Jan
el 14 de Abr. de 2015
Please run the profiler and post a copy of the line, which needs the most time. This is more useful to identify the problem than a description as a text.
Plots are getting slow, when there are many (> thousands) older objects in the figure already. If you observe different run times if you run the code inside your GUI or from the editor, there are differences between the surrounding code. So please post a relevant part of the code, which reproduces the problem. You can replace the data with random arrays most likely to keep it simple.
0 comentarios
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!