Help command does not work, it has 'matlab.in​ternal.hel​p.helpProc​ess' class destructor: Error using newline

14 views (last 30 days)
I wanted to use the help command to look up the userguide, but it doesnt work and returns me a bunch of errors :(
Error as follow:
Warning: The following error was caught while executing 'matlab.internal.help.helpProcess' class destructor:
Error using newline
Too many output arguments.
Error in matlab.internal.help.helpProcess/displayHelp (line 22)
displayStr = [getString(message('MATLAB:helpUtils:displayHelp:TopicNotFound', hp.topic)), newline,
searchMessage];
Error in matlab.internal.help.helpProcess/delete (line 104)
disp(hp.displayHelp);
Error in help (line 31)
end
> In help (line 31)

Answers (1)

Walter Roberson
Walter Roberson on 27 Nov 2022
It sounds as if you have a third-party newline function, such as from a package such as pplane or spm12 .
Check using
which -all newline
built-in (/MATLAB/toolbox/matlab/strfun/newline) /MATLAB/toolbox/shared/hdlshared/@hdl/newline.p % hdl method
if you see anything that is not built-in or inside a @ class definition, then it might be the interfering code.

Categories

Find more on Biomedical Signal Processing 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!