Command line help fails, reports "Error using append Too many input arguments"

8 ビュー (過去 30 日間)
Alan
Alan 2025 年 8 月 7 日
コメント済み: Alan 2025 年 8 月 7 日
Example, requesting just "help" with no arguments ...
>> help
Warning: The following error was caught while executing 'matlab.internal.help.helpProcess' class destructor:
Error using append
Too many input arguments.
Error in matlab.internal.help.createMatlabLink (line 5)
link = append('', linkText, '');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.help.createMatlabCommandWithTitle (line 3)
link = matlab.internal.help.createMatlabLink(action, item, message);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.help.helpProcess/displayHelp (line 19)
searchCommand = matlab.internal.help.createMatlabCommandWithTitle(hp.wantHyperlinks, searchMessage, "docsearch", hp.topic);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.help.helpProcess/delete (line 95)
disp(hp.displayHelp);
^^^^^^^^^^^^^^
Error in help (line 29)
end
^
> In help (line 29)
>>
  1 件のコメント
Meg Noah
Meg Noah 2025 年 8 月 7 日
What command was given right before the command help? In R2024b, it appears to execute help on the last function/method that was run.

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

採用された回答

Walter Roberson
Walter Roberson 2025 年 8 月 7 日
You have a third-party append.m that is interfering with the Mathworks append()
which -all append
/MATLAB/toolbox/matlab/strfun/append.m /MATLAB/toolbox/control/ctrlobsolete/@double/append.m % double method append is a built-in method % string method /MATLAB/toolbox/matlab/timeseries/@timeseries/append.m % timeseries method append is a Java method % com.mathworks.fileutils.MatlabPath method append is a built-in method % matlab.automation.Verbosity method append is a built-in method % matlab.unittest.internal.fixtures.FolderScope method /MATLAB/toolbox/matlab/testframework/unittest/core/+matlab/+unittest/+plugins/+plugindata/ResultDetails.m % matlab.unittest.plugins.plugindata.ResultDetails method /MATLAB/toolbox/matlab/external/interfaces/webservices/http/+matlab/+net/+http/+io/ContentConsumer.m % matlab.net.http.io.ContentConsumer method /MATLAB/toolbox/matlab/testframework/unittest/core/+matlab/+unittest/+internal/+diagnostics/CompositeConditionsSupplier.m % matlab.unittest.internal.diagnostics.CompositeConditionsSupplier method append is a built-in method % py.list method /MATLAB/toolbox/mbc/mbcdata/@cgoppoint/append.m % cgoppoint method /MATLAB/toolbox/mbc/mbcdesign/@designdev/append.m % designdev method /MATLAB/toolbox/mbc/mbcguitools/@xreglistctrl/append.m % xreglistctrl method /MATLAB/toolbox/mbc/mbctools/@sweepset/append.m % sweepset method /MATLAB/toolbox/risk/risk/@esbacktest/append.m % esbacktest method /MATLAB/toolbox/risk/risk/@varbacktest/append.m % varbacktest method /MATLAB/toolbox/shared/controllib/engine/@InputOutputModel/append.m % InputOutputModel method
I predict that something else will show up before toolbox/matlab/strfun/append.m

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming Utilities についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by