Why does it take so long for Application Compiled exe to execute?
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!