Why's getFileInfoForToolstrip missing after update to R2018a
40 次查看(过去 30 天)
显示 更早的评论
Since updating to MAtlab R2018a, I have been getting the error: Undefined function or variable 'matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip', periodically in my command window. Specifically happens every time that I save a file in the editor.
采纳的回答
Sonam Gupta
2018-3-29
For performance purposes, MATLAB caches a list of files on the MATLAB search path (including toolbox files), and this cache can persist even after closing MATLAB (but not after restarting your machin). It seems that this cache is getting into a bad state on your machine.
Try the following commands:
restoredefaultpath
rehash toolboxcache
savepath
If the above fails to resolve the issue, try restarting your system.
9 个评论
Henan Yu
2019-10-6
Sorry, not working for mine. Still getting these errors and I cannot do anything with matlab, even I re-installed twice.
Unrecognized function or variable 'rmiml.visibleInToolstrip'.
Unrecognized function or variable 'rmiml.visibleInToolstrip'.
Please help me with this
Thank you
Henan
BBB
2019-10-24
Thank you so much! My MATLAB was not working as well and this really helped! Thank you again :)
更多回答(2 个)
Peter Urlings
2018-10-4
In addition to Sonam Gupta's comments, be sure to check the Matlab startup folder.
(On windows, the default is %userprofile%\documents\MATLAB\ )
If there is a pathdef.m file there, Matlab will load this on startup. See if removing or renaming this file solves your issue.
0 个评论
Thomas Burschil
2018-7-12
I get the same three errors, but restoring the path or reinstall Matlab does not work out. Any suggestions?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!