MATLAB R2014b Error on Startup

4 次查看(过去 30 天)
I'm getting the following error on start-up:
"Error using Settings Undefined function or variable 'matlab.internal.getSettingsRoot'.
Error in matlabrc (line 184) s = Settings;"
The relevant code in matlabrc is
% Initial Working folder if ~(ismcc isdeployed feature('isdmlworker')) && usejava('jvm') s = Settings; switch s.matlab.workingfolder.InitialWorkingFolder
"% Initial Working folder if ~(ismcc isdeployed feature('isdmlworker')) && usejava('jvm') s = Settings; switch s.matlab.workingfolder.InitialWorkingFolder"

采纳的回答

Eric Sampson
Eric Sampson 2014-6-23
Try issuing this command (save your original PATH to a .mat file if you care about wanting to be able to recreate it):
restoredefaultpath

更多回答(1 个)

coconutMocha
coconutMocha 2015-2-26
I was having a similar problem and I realized that the pathdef file was shadowed in my data/script storage folder as well as the MATLAB application folder. The problem resolved when I deleted the extraneous file in the data storage folder.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by