Command line help fails, reports "Error using append Too many input arguments"
Show older comments
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
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
More Answers (0)
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!