MATLAB app designer : .exe file extremly slow when opening and calculating
53 views (last 30 days)
Show older comments
- MATLAB 2019B
- dell presicion laptop
- 5000 lines code
I am building a software, so I use appdesigner to generate an EXE file.
However, the EXE file will cost 40~50 seconds to open.
And when calculating, it's very slow. For example, without the interface (only code), one time running will cost ~1 minute, but when use appdesigner, the same code will cost almost 15 minutes. It makes me feel hopeless .
What can I do to make the generated software run more smoothly?
Answers (1)
Ajay Kumar
on 2 Dec 2019
I would suggest you to break the 5000 lines of code in app designer code view to multiple function files (.m) files.
As executing functions are more efficient.
Also consider vectorization if possible/ if you have some cases in your program.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!