Is it possible to load mcr once at windows startup
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to use matlab standalone program on my laptop created on AppDesigner and it is incredibly slow for my liking, but when I try to open the program on my computer with MATLAB on it, it is starting up in reasonable times. So, I was wondering if it is possible to load the matlab mcr once whilst starting the computer so I do not have to wait for the mcr to load whenever I open the standalone program.
0 Commenti
Risposta accettata
Jim David
il 8 Ott 2018
It is currently not possible to load the MCR once and have that be sufficient for the executions of the standalone application. Please note that initializing MCR should take relatively the same amount of time as starting an instance of MATLAB.
However, performance improvements may be obtained by using the -C flag with the mcc command while creating the standalone application. Assuming we have a file named appName.m, the following command would be an example.
>> mcc -mC appName.m
More information about the mcc command can be found here:
The ctf file is extracted before the application is run. Improved performance when using the -C flag would indicate an issue with the location that the ctf file is being extracted to. This could be changed to a more appropriate path by changing the MCR_CACHE_ROOT environment variable. Information about MCR_CACHE_ROOT can be found through the following link:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!