Startup error related to the getSettingsRoot
7 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am getting this error at the first run of my new installed MATLAB R2016a:
Error using Settings Undefined function or variable 'matlab.internal.getSettingsRoot'.
Error in setInitialWorkingFolder (line 4) s = Settings;
Error in matlabrc (line 195) setInitialWorkingFolder();
----
I installed the same Matlab on another machine (same Ubuntu 14.04), without having this error.
Any suggestion, help?
0 件のコメント
回答 (1 件)
Pratik
2024 年 2 月 14 日
Hi Hadi,
From what I can understand from the question, there is error "Undefined function or variable 'matlab.internal.getSettingsRoot'" on first run of newly installed MATLAB and there is no error when running MATLAB on other machine.
This error occurs when a custom pathdef.m file has been implement or when the path MATLAB is using is corrupt. To resolve the issue, try running the following commands and restarting MATLAB:
rehash toolboxcache
restoredefaultpath
savepath
exit
Run these commands in order from the MATLAB command line and then start MATLAB. This will remove any modifications you have made to your path; it will also remove third party toolboxes and support packages. The removed third party toolboxes and support packages will have to be installed again.
I hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!