Why does it take so long for Application Compiled exe to execute?
Show older comments
Folks,
I have a Matlab GUI made with GUIDE that takes ~50 times longer to launch when I run the *.exe file directly from the "for_redistribution_files_only" directory after compiling it relative to the amount of time it takes me to run the same original .m Application in a full Matlab console window. Why does it take so long to execute? It takes ~50 times longer only the first time I run it after logging into the Windows 10 console (and its not being run while other startup processes are happening). Then if I close it and run it again, it takes only 5 times longer. Still way way slower than launching from Matlab console. I'm running a 4-core laptop that gets great marks from Matlab's bench (the 3rd fastest computer just faster than Xeon X5650 @ 2.67 GHz). Does it make a difference from a launching speed perspective if I install it in registry using the Installer.exe App generated from Application Compiler? The reason I default to using the App *.exe that comes directly out of Application Compiler is because to run the Installer.exe requires admin privledges, which is something that I do not have and difficult to obtain.
Thanks,
Kris
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!