Newly installed R2017a for Mac OS X gave an error message on startup: /Applications/MATLAB_R2017a.app/toolbox/local/toolbox_cache-maci64.xml not found
1 次查看(过去 30 天)
显示 更早的评论
Newly installed R2017a for Mac OS X gave an error message on startup: /Applications/MATLAB_R2017a.app/toolbox/local/toolbox_cache-maci64.xml NOT FOUND
I checked the contents of the MATLAB_R2017a.app and toolbox_cache.m is there, but not toolbox_cache-maci64.xml
Did a more general search, and toolbox_cache-maci64.xml is apparently nowhere on my Mac.
0 个评论
回答(1 个)
Sruthi Geetha
2017-7-17
The Toolbox Path Cache is a file that MATLAB uses to store information regarding the location of toolbox directories. It is used because loading the information from a single local file is quicker than accessing the file system, particularly when there are many toolboxes or the directories are being accessed across a network. The cache file will also be updated at the end of each MATLAB session. More information regarding the toolbox path cache is available here:
The error message indicates that there is an issue with the current Toolbox Path Cache file. Generally the error will be resolve by restarting MATLAB as it will generate a new Toolbox Path Cache. If the error does return there are two ways to reset the Toolbox Path Cache
1. Using the command:
rehash toolboxcache 2. From the MATLAB Desktop:
Open the Preferences GUI. For MATLAB 7.14 (R2012a) and earlier releases go to the File menu to Preferences. For MATLAB 7.14 (R2012b) and later releases go to the Home tab to Preferences. In the Preferences GUI, select the "General" tab. Click the "Update Toolbox Path Cache" button to reset the Toolbox Path Cache.
After the Toolbox Path Cache is reset, the error should not return on startup.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!