执行一小段代码(MWE不相关),我收到以下错误消息:
Error using load
Unable to read MAT-file /Users/.../.matlab/R2012b/matlabprefs.mat: not a
binary MAT-file.
Try LOAD -ASCII to read as text.
Error in prefutils>loadPrefs (line 43)
fileContents = load(prefFile);
Error in prefutils (line 11)
[varargout{1:nargout}] = feval(varargin{:});
Error in ispref (line 32)
Preferences = prefutils('loadPrefs');
Error in mpt_subSolvers (line 11)
if ispref('MPT','MPTOPTIONS')
Error in mptopt (line 156)
function options = mptopt(varargin)
Error in Polyhedron (line 422)
MPTOPTIONS = mptopt;
有人建议删除文件matlabprefs.mat
(Link)但我找不到此文件。有没有关于如何解决这个问题的提示?