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"

 Akzeptierte Antwort

Eric Sampson
Eric Sampson am 23 Jun. 2014

6 Stimmen

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

Weitere Antworten (1)

coconutMocha
coconutMocha am 26 Feb. 2015

0 Stimmen

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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by