gui takes prettty much time for launching?
显示 更早的评论
hi, In my gui i have a images slideshow and some text its working right but the problem is gui takes pretty much time for launching and when i comment images slideshow code it get start quickly... now how to resolve this issue?
4 个评论
Image Analyst
2014-2-2
You forgot to attach your m-file so how could we possibly know why it's slow? I don't see any reason at all why adding comments to the code should speed it up. This isn't a compiled program is it?
romasha
2014-2-2
Image Analyst
2014-2-2
If I told you MY program was slow, can you tell me why my program is slow if I don't show you the code? You need to see the code. Did you use the MATLAB compiler to turn your program into a standalone executable?
romasha
2014-2-2
编辑:Walter Roberson
2014-2-2
采纳的回答
更多回答(1 个)
Shivaputra Narke
2014-2-2
0 个投票
As your code is not present here its difficult to say anything. But,if gui is taking time in launching that means you have written a bunch of code in its opening function that takes time. I am not sure but this may be one of the reason.
2 个评论
romasha
2014-2-2
编辑:Walter Roberson
2014-2-2
Shivaputra Narke
2014-2-2
You used pause(3) which delays gui to appear.
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!