Variable MCR_CACHE_SIZE?
Ältere Kommentare anzeigen
Hello,
I would like to know the exact purpose of the variable MCR_CACHE_SIZE? My compiled app is around 40 Mb. I have read that the default MCR_CACHE_SIZE is 32 Mb. Does this mean that I need to set the MCR_CACHE_SIZE to a greater value to avoid issues during execution? If I need to increase the cache size, what is the syntax? set MCR_CACHE_SIZE="64Mb"?
Thx in advance,
Luc Masset
Akzeptierte Antwort
Weitere Antworten (1)
Deepak Kumar
am 24 Jan. 2020
You can set the size of MCR_CACHE_SIZE environment variable by editing the .max_size file which resides in the current cache directory (which can be found by executing the following command at the MATLAB command prompt)
>>mcrcachedir
As per my understanding, increasing the MCR_CACHE_SIZE might help to speed up the execution of your program.
Refer the below documentation link for more details :
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!