How to setup MCR_CACHE_ROOT in Windows

♀尐吖头ヾ 提交于 2019-12-13 00:37:24

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/16432673/how-to-setup-mcr-cache-root-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!