Accelerate executable file speed
Show older comments
Hello,
I'm new in matlab and also in programming. I have got an assignment from my internship to speed up an exe form of the matlab GUI. The GUI has lots of sub-folder and .m files. Currently it's fast when I run it with matlab, but if I change it to exe with matlab compiler it takes eternity to run. I have seen some solution on the internet to use "MCR_CACHE_ROOT", but no one from university or work knows about it. I have no idea, what it is and how to even start with it. Can anyone please explain it to me like I'm a 5 years old? I would be really grateful.
Thanks
6 Comments
Jan
on 19 Aug 2021
What exactly is "an exe form of the matlab GUI"? What does it mean, that a "GUI has subfolders"? GUIs are the windows on the screen an subfolders are nestes folders on the file system. Please explain, what "takes eternity to run" exactly means. Using the unit seconds is much better that emotional expressions.
As long as it is not clear, where the time is spent, the chances for a matching guess, which solves the problem, are very small.
Mubin R
on 19 Aug 2021
Okay, now the problem is clear. Which Matlab version and OS are you using? See:
Mubin R
on 19 Aug 2021
Mubin R
on 8 Sep 2021
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!