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

14 visualizaciones (últimos 30 días)
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 comentario
Meg Noah
Meg Noah el 7 de Ag. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Ag. de 2025
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

Más respuestas (0)

Categorías

Más información sobre Programming Utilities en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by