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일

6 개 추천

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

태그

질문:

2014년 6월 23일

답변:

2015년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by