- Is it a GUIDE GUI?
- Is it a programatic gui or a class?
- What initializations happen?
- How extensive is it?
matlab GUI starts very slow, possible to speed up?
8 次查看(过去 30 天)
显示 更早的评论
As subject,
Thanks,
2 个评论
Sean de Wolski
2013-5-13
We need to know a little more.
回答(2 个)
Walter Roberson
2013-5-14
Probably not much. You can reduce the number of directories in your matlab path to reduce some of the startup time. You can pcode your files to reduce execution time a little (probably not much unless your code is huge.)
You can make sure your computer has lots of memory, and have something that reads all of your files ahead of time so that they are in disc cache. This is done automatically on MS Windows systems in quite new versions of MATLAB.
If you are accessing hard-disk, you can move everything onto solid state storage.
0 个评论
Jan
2013-5-14
The profiler reveals, where the most time is spent. I suggest to find this bottleneck and post the code here.
In a complex GUI with a lot of elements, the rendering cna consume a lot of time. So add a drawnow inside the code, otherwise the profiler cannot consider the correpsonding time, because the rendering is started, when the control returns to the command line and therefore after the profiler has finished the measurements.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!