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"

1 件のコメント

Edward Fitzgerald
Edward Fitzgerald 2014 年 6 月 23 日
Problem solved. Thanks!

サインインしてコメントする。

 採用された回答

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 についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by