Why's getFileInfoForToolstrip missing after update to R2018a
41 ビュー (過去 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:
If the above fails to resolve the issue, try restarting your system.
その他の回答 (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.