gui takes prettty much time for launching?
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 2 Fév 2014
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
le 2 Fév 2014
Image Analyst
le 2 Fév 2014
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
le 2 Fév 2014
Modifié(e) : Walter Roberson
le 2 Fév 2014
Réponse acceptée
Plus de réponses (1)
Shivaputra Narke
le 2 Fév 2014
0 votes
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 commentaires
romasha
le 2 Fév 2014
Modifié(e) : Walter Roberson
le 2 Fév 2014
Shivaputra Narke
le 2 Fév 2014
You used pause(3) which delays gui to appear.
Catégories
En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!