
Command line help fails, reports "Error using append Too many input arguments"
31 views (last 30 days)
Show older comments
Alan
on 7 Aug 2025 at 19:56
Commented: Alan
on 7 Aug 2025 at 20:26
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 Comment
Meg Noah
on 7 Aug 2025 at 20:13
What command was given right before the command help? In R2024b, it appears to execute help on the last function/method that was run.

Accepted Answer
Walter Roberson
on 7 Aug 2025 at 20:14
You have a third-party append.m that is interfering with the Mathworks append()
which -all append
I predict that something else will show up before toolbox/matlab/strfun/append.m
More Answers (0)
See Also
Categories
Find more on Programming Utilities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!