After installation of documentation on the PC, I get "Invalid default value for property 'Location' in class 'matlab.in​ternal.doc​.url.DocPa​geParser'"

How can I mitigate that ?

3 Commenti

@Mathieu GRISON Can you provide the exact reproduction steps leading to the error?
Thanks for looking at my issue !
Activation and installation went well (R2024b update1) except :
I get "unrecognized function or variable "settings"
I used forum solution :
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Then after installation : preferences / help / Documentation Location to ask for installation offline of help.
it looked to go well, but anything I ask in help little windows leads to :
(while I am writing) :
Error using weboptions (line 378)
Unsupported input: string
Error in matlab.internal.doc.search.sendSearchMessage (line 13)
options = weboptions('RequestMethod','post', ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.doc.search.configureSearchServer (line 13)
matlab.internal.doc.search.sendSearchMessage('addons', 'Body', '[]');
(and when I hit enter)
com.mathworks.jmi.MatlabException: Invalid default value for property 'Location' in class 'matlab.internal.doc.url.DocPageParser':
Unsupported input: string
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:1732)
at com.mathworks.mde.help.DisplayDocPageWorker.runOnMatlabThread(DisplayDocPageWorker.java:25)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
To verify that MATLAB opens the locally installed documentation, restart MATLAB after installing the documentation, and enter this command in the MATLAB Command prompt:
doc
On the documentation home page that opens, if the URL points to a local IP address and port number (for example, http://127.0.0.1:12345), then MATLAB is accessing the locally installed documentation. Providing this output could help in debugging the issue.
Also, could you elaborate on how the help command was used? Perhaps for a specific function? Are you writing it in the command window?

Accedi per commentare.

Risposte (1)

I was able to install documentation offline in MATLAB R2024b Update 1 without any issues, following the steps mentioned in the following documentation:
I would suggest performing a reinstall of MATLAB and following the steps mentioned in the above link to install documentation offline. If the issue persists, consider contacting MathWorks technical support here:
Hope this helps!

1 Commento

Many thanks for these propositions.
I was unable ton accept the response for an unknown reason, now it seems to work properly.
I initially thought it was sufficient to select "Preference / Help / Documentation Location and choose "local" since it leaded to download data, and no faillure message appeared. But ... no.
Now I see that I can try an offline installation of documentation and I will try that and read the docummentation you mentionned as soon as I can (too busy right now). All the more since I know for sure that the installation of matlab itself must be done with the offline way in my company. I will let you know.
Cheers

Accedi per commentare.

Categorie

Prodotti

Release

R2024b

Richiesto:

il 13 Nov 2024

Modificato:

il 20 Nov 2024

Community Treasure Hunt

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

Start Hunting!

Translated by