Question

I know this may be an easy question but How can I setup MCR_CACHE_ROOT in Windows? Can you provide me with the detailed steps. And where should I point the path to MCR_CACHE_ROOT to speed up my compiled application startup time?

Was it helpful?

Solution

For Windows 7, you set it as an environment variable as follows:

  1. Click Start then right-click on Computer and choose Properties from the menu.
  2. In the System window, click Advanced system settings in the left panel.
  3. In the System properties dialog, select the Advanced tab and click the Environment variables button.
  4. To add for all users, click New under the System variables window.

For Windows XP it's very similar and is described here.

Then you can enter MCR_CACHE_ROOT as the variable name, and the required path to variable value. Ok everything and it's done.

You can set the path wherever you like, but it's probably better to create a folder e.g. C:\MATLAB Cache and set it there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top