Matlab R2022a startup error in windows 10
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Matlab (R2022a) is giving me this error on startup
Error using strsplit
Too many input arguments.
Error in matlab.net.URI/set.Path (line 432)
obj.Path = strsplit(string(value), '/', 'CollapseDelimiters', false);
Error in matlab.net.URI/parse (line 1202)
obj.Path = parts.Path;
Error in matlab.net.URI (line 874)
obj = obj.parse(dest, literal);
Error in matlab.internal.doc.search.sendSearchMessage (line 22)
uri = matlab.net.URI("help/search/" + endpoint);
Error in matlab.internal.doc.search.configureSearchServer (line 19)
matlab.internal.doc.search.sendSearchMessage('addons', 'Body', '[]');
Also when I try to load the help
com.mathworks.jmi.MatlabException: Too many input arguments.
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:273)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1731)
at com.mathworks.mde.help.DisplayDocPageWorker.runOnMatlabThread(DisplayDocPageWorker.java:19)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
I'm running on a Windows 10 computer.
On the same computer I have installed R2020a without any issues.
Antworten (1)
Bala Tripura Bodapati
am 23 Mai 2022
Hi Bernardo,
It is my understanding that following error is encountered at your end while starting up MATLAB R2022a:
'Error using strsplit.Too many input arguments'
A common cause for this type of error is for a path to contain files with the same filenames as MATLAB system files, such as pathdef.m. A quick way to fix this type of error would be to reset your path and clear your toolboxcache.
Before modifying the search path, it is important to take a backup of your 'pathdef.m' file, which can be located by using the command:
>> which -all pathdef
Before proceeding, ensure that you make a safe copy of the file by copying it to a folder outside of your MATLAB path.
After taking the backup, execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
After this step, use MATLAB/Simulink to see if the issue occurs again. If the issue is resolved, then you may want to save the new MATLAB search path by executing the following command:
>> savepath
This will remove any custom paths you may have created. The following MATLAB Answers post is an additional resource on how to back them up:
3 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!