Accelerate executable file speed

11 vues (au cours des 30 derniers jours)
Mubin R
Mubin R le 18 Août 2021
Commenté : Mubin R le 8 Sep 2021
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 commentaires
Jan
Jan le 21 Août 2021
@Mubin R: I do not understand the meaning of your comment.
The code in your comment must be executed in a Linux shell. Are you working with Linux?
Mubin R
Mubin R le 8 Sep 2021
Sorry, I sent you the wrong one. I wanted to post this one
REM set MCR_CACHE_ROOT=%TEMP%
set MCR_CACHE_ROOT="C:\Documents and Settings\Yair\Matlab Cache\"
myExecutable.exe
I figured it out how to use it, but it didn't make the GUI that fast

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 19 Août 2021

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by