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

조회 수: 3 (최근 30일)
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일
편집: Torsten 2024년 11월 19일
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일
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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by