when open MATLAB there is such error on command window Error using settings. Too many output arguments. how to solve it

16 ビュー (過去 30 日間)
Yosef Demis
Yosef Demis 2024 年 11 月 19 日 1:44
回答済み: Steven Lord 2024 年 11 月 19 日 2:00
when open matlab 2022b Error using settings
Too many output arguments.
Error in matlab.internal.doc.services.getDocroot>getDocrootFromSetting (line 13)
s = settings;
Error in matlab.internal.doc.services.getDocroot (line 6)
docroot = getDocrootFromSetting;
Error in docroot (line 33)
helpDir = char(matlab.internal.doc.services.getDocroot); error happen on command window how to solve it
  1 件のコメント
Torsten
Torsten 2024 年 11 月 19 日 1:52
編集済み: Torsten 2024 年 11 月 19 日 1:54
Contact MATLAB Technical Support:
Or do you have a self-written function with name settings.m ?
What do you get when you type
which -all settings.m
?

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

回答 (1 件)

Steven Lord
Steven Lord 2024 年 11 月 19 日 2:00
If you've written your own settings.m file, it's likely conflicting with the settings function that's part of MATLAB. Rename your settings.m file. To check if this is the case, run this command:
which -all settings

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by